Using "hg convert" on repos with multiple branches

Scott Jarvi scott.jarvi at gmail.com
Tue Sep 11 20:39:15 UTC 2012


Hi,

We're in the process of trying to collapse some of our Hg repos into a
single repository.   The "convert" extension seems to be the right fit, but
I'm not sure how the branches within each repo will be merged into the new
repo.    An example - we have two separate repos, "old_repo1" and
"old_repo2" both with named branches that have the same name:

old_repo1
- default
- branchA
- branchB

old_repo2
- default
- branchA
- branchB

We want old_repo1 & old_repo2 to become subdirectories of new_repo, but
retain the branches and history.

new_repo
 /old_repo1
 /old_repo2
- default
- branchA
- branchB


Is this possible, and if so, what is the recommended approach here?

Thank you,
Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20120911/3f1a2bb9/attachment-0002.html>


More information about the Mercurial mailing list