Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 356194

Summary: Can't import project if some of the repository projects exist in workspace
Product: [Technology] EGit Reporter: Dani Megert <daniel_megert>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3 CC: curtis.windatt.public, remy.suen, robin.rosenberg, tomasz.zarna
Version: 1.1   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 381630    
Attachments:
Description Flags
Picture of dialog
none
Picture showing deleted project none

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. ***