Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 323947 - Allow sharing a project with existing repository by moving its contents
Summary: Allow sharing a project with existing repository by moving its contents
Status: CLOSED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 356953
Blocks:
  Show dependency tree
 
Reported: 2010-08-30 06:20 EDT by Benjamin Muskalla CLA
Modified: 2013-09-27 11:42 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.