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

Bug 323947

Summary: Allow sharing a project with existing repository by moving its contents
Product: [Technology] EGit Reporter: Benjamin Muskalla <b.muskalla>
Component: UIAssignee: Project Inbox <egit.ui-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: robin, stefan.lay
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 356953    
Bug Blocks:    

Description Benjamin Muskalla CLA 2010-08-30 06:20:35 EDT
Workflow:
Have an existing repository with several projects (like egit).
Create a new project, Team > Share
I want to share the new project as part of the existing repository. Currently I need to fall back to the cli in order to do this.
Comment 1 Stefan Lay CLA 2010-08-30 07:13:04 EDT
I cannot reproduce the problem:
When you create a new project below an existing repository the share wizard recognizes the repository and displays the relative path in the third column of the "Configure Git Repository" Page. What exactly do you have to do on the command line?
Comment 2 Benjamin Muskalla CLA 2010-08-31 18:23:04 EDT
Hm....i really don't get it.

Git repo at /gitrepos/foo
One project at /gitrepos/foo/project1

Workspace:
* Cloned repo
* project1 in workspace
* Create project2 in workspace
* Team > Share on project2
* Cannot specify existing repository (eg. from a combo)
* Cannot use /gitrepos/foo/project2

I think what you meant is to specifiy /gitrepos/foo/project2 as location when creating the project. With that, I was partly successful sharing the project (git repo view stays out of sync). In my eyes, this is way to complicated for users that are used to other team providers. Normally you always have the possibility to share a project to a repository after the creation (we could just copy it to the work dir and exchange the project in the workspace). 
And what I initially meant: We should allow users to just select a repository when sharing a project (not a path but one of the repos that we have in the git repo view, take a look how the CVS share wizard looks like).
Comment 3 Robin Stocker CLA 2013-09-27 11:42:08 EDT
It's now possible to share a project with an existing repo and move the contents, closing as fixed.