I have a subversion repo with the following location:
svnrepo/projectA/trunk
svnrepo/projectA/tags
svnrepo/projectA/branches
svnrepo/projectB/trunk
svnrepo/projectB/tags
svnrepo/projectB/branches
which I would like to move to a mercury repo with a revised layout:
hgrepo / Projecta
hgrepo / projectB
What is the best way to do this? Some of my thoughts:
Option1
Reorder paths in subversion (using svn move) in an intermediate format:
svnrepo/trunk/projectA
svnrepo/trunk/projectB
svnrepo/tags/projectA
svnrepo/tags/projectB
svnrepo/branches/projectA
svnrepo/branches/projectB
then hg convert to svnrepo / trunk. Will this confuse hg imports?
Option 2
hg convert each of the projects / trunks into separate hg repositories. Then merge them into one hg repo (using hg init, hg pull -f projectA, etc.). I think this will lose the branch names and tags in the first imported project.