I have a number of eclipse projects that I'd like to have in two separate hg repositories.
I've managed to do this by first creating the two hg repository using TortouiseHg and adding, committing my projects to each of the repositories first. By doing that I now have two hg repositories with two projects in each.
Next I clone that repositories in Eclipse using MercurialEclipse. The projects appear as expected in Eclipse.
Example 1:
Eclipse workspace
|
|--Project 1
|--Project 2
|--Project 3
|--Project 4
But if I look in the directory structure it looks like this:
Example 2:
c:--
|
|-workspace
|
hgRepository1
| |--.hg
| |--Project 1
| |--Project 2
|
|
hgRepository2
|--.hg
|--Project 3
|--Project 4
when I want it to look like this.
Example 3:
c:--
|
|-workspace
|--.hg
|--Project 1
|--Project 2
|--Project 3
|--Project 4
Is it possible to have a single Mercurial repository and somehow clone it and have the projects appear directly under workspace directory, and not in a subdirectory?