Put an hg repo into a folder in another repo.

Harvey Chapman hchapman-hg at 3gfp.com
Thu May 6 19:24:31 UTC 2010


Summary: How do I put all of the history of one hg repo into a subfolder of another hg repo? (The destination repo is actually svn using hgsubversion if it matters.)

I have an hg repo that I used to develop a new feature. I also have an hg repo copy of an svn repo (using hgsubversion). I'd like to take all of the history and checkins of the feature repo and add them to the hg-svn repo in a sub-folder. How do I do this? I tried using hg export and hg import but that didn't work. Also, hg rollback didn't work when hg import failed. It only rolled back one revision from import.

Thanks,
Harvey


More information about the Mercurial mailing list