Merging local repositories

Hans Meine meine at informatik.uni-hamburg.de
Wed Jul 23 08:39:22 CDT 2008


Am Mittwoch, 23. Juli 2008 15:15:00 schrieb Nikolaus Demmel:
> I'm sorry if I ask a stupid question that is explained in some faq,
> but all my searches seem to lead to howtos of merging changes or
> repositories on some parent, which i dont use.
>
> I use mercurial for local version-control. I have created 3
> repositories. One in /a/b/, one in /a/c/ and one in /a/ itsself
> (which includes /a/d/). How can I now merge the repositories in /a/b/
> and /a/c/ to the one in /a/, so that i'm left with only one
> repository and can commit all changes by calling $hg ci in /a/?

Is "merging" the right term, or do you just want to create a common repository 
from several single ones?  You may want to have a look at the transplant 
extension for the latter; also check out the forest extension (never used it 
myself) which may be another way to achieve something similar.

-- 
Ciao, /  /
     /--/
    /  / ANS


More information about the Mercurial mailing list