Mercurial How To Merge 2 Repositories that share a common ancestor but are not clones of the same re

Posted by sylvanaar on Stack Overflow See other posts from Stack Overflow or by sylvanaar
Published on 2010-03-14T16:42:41Z Indexed on 2010/03/14 16:45 UTC
Read the original article Hit count: 273

Filed under:
|

I am using hg-subversion, and I have 2 different hg repositories one from our svn trunk, and one from a branch of the trunk. I would like to link them somehow. At some point in the history both Hg repositories will be identical is there some way to join them?

In other words is there a way to relate the repositories from within Hg?

The technique I am currently using is to just export the second repository over top of the working copy of the revision they share, and then commit that working copy as a branch in Hg, but I lose the history this way.

Any advice would be great

© Stack Overflow or respective owner

Related posts about mercurial

Related posts about hgsubversion