|single repo, many projects: how to add a new project [message #653268]
||Wed, 09 February 2011 02:06
| Maxime Jeanmart
Registered: November 2010
We've decided to have a single repository for all projects because it's less repositories to manage.
When we start development, developer A creates a single repository with several projects. eGit suggests to use the workspace root as local repository. I guess it's fine. Then A pushes that local repository on a central repository.
After that, developer B wants to join and clones the central repository. Unfortunately, it's not possible to clone directly on the root of the workspace and have a similar structure as developer A. The error message is: " E:\Workspace is not an empty directory." Is it a bug?
B may use another repository location, outside the workspace. But then what is he supposed to do if he wants to add a new project to that repository? Should he create a new repository in the workspace root just for that project? Then should he keep 2 local repos and merge in central repo? Should he merge the 2 local repos and then destroy the new local repo?
I find this repository management a little confusing and unnecessarily complex. I think it should be possible to either let us use the workspace root to clone a repository or to be able to add a project to an existing local repository which is not the workspace root.
What do you think? Did I miss something?
Powered by FUDForum
. Page generated in 0.08376 seconds