Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 356194 - Can't import project if some of the repository projects exist in workspace
Summary: Can't import project if some of the repository projects exist in workspace
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.1   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 381630
  Show dependency tree
 
Reported: 2011-08-30 09:07 EDT by Dani Megert CLA
Modified: 2013-04-24 16:51 EDT (History)
4 users (show)

See Also:


Attachments
Picture of dialog (13.43 KB, image/png)
2011-08-30 09:08 EDT, Dani Megert CLA
no flags Details
Picture showing deleted project (13.27 KB, image/png)
2011-08-31 09:01 EDT, Dani Megert CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2011-08-30 09:07:21 EDT
1.1.0.201108281957.

I have some projects from CVS in my workspace which also reside in the new Git repository. Now, I want to import some not yet existing projects from that Git repository but it doesn't allow me to do this. See attached dialog.
Comment 1 Dani Megert CLA 2011-08-30 09:08:12 EDT
Created attachment 202416 [details]
Picture of dialog
Comment 2 Dani Megert CLA 2011-08-31 09:00:35 EDT
OK, it works in the normal case.

I'm currently verifying that the CVS and the Git Repo content is the same for certain branches.

To do this I checked out the CVS projects into my workspace. I then added a project called "Git Repo" that points to the Git repo location, so that I can use Compare With > Each Other. After doing that I removed the project again. However, for some unknown reason Git still knows about this deleted project. See attached picture.
Comment 3 Dani Megert CLA 2011-08-31 09:01:16 EDT
Created attachment 202514 [details]
Picture showing deleted project
Comment 4 Dani Megert CLA 2012-05-02 03:59:11 EDT
Import should also be possible even if the project already exists in the workspace (ask to delete similar to the 'Plug-ins and Fragments' import wizard).
Comment 5 Robin Rosenberg CLA 2013-03-29 20:03:35 EDT
(In reply to comment #4)
> Import should also be possible even if the project already exists in the
> workspace (ask to delete similar to the 'Plug-ins and Fragments' import
> wizard).

Seems that request is for Platform IDE, not EGit. Right?
Comment 6 Dani Megert CLA 2013-04-04 10:51:09 EDT
(In reply to comment #5)
> (In reply to comment #4)
> > Import should also be possible even if the project already exists in the
> > workspace (ask to delete similar to the 'Plug-ins and Fragments' import
> > wizard).
> 
> Seems that request is for Platform IDE, not EGit. Right?

No, it's the Git import (see attached picture).
Comment 7 Curtis Windatt CLA 2013-04-24 16:51:23 EDT
*** Bug 381630 has been marked as a duplicate of this bug. ***