Merging mercurial repositories

Benoit Boissinot benoit.boissinot at ens-lyon.org
Sun Apr 19 05:01:08 CDT 2009


On Sun, Apr 19, 2009 at 12:11:22PM +0300, Dmitry Nezhevenko wrote:
> Hi,
> 
> I'm thinking about merging three mercurial repositories to one main. Here
> is an example of what I want to get:
> 
> .hg -- Main repo
> doc
> src
> lib
>    somelib1 -- subrepo1
>    somelib2 -- subrepo2
>    somelib3 -- subrepo3

in subrepo1:
mkdir -p lib/somelib1
hg mv * lib/somelib1 # not sure it works with * but you get the idea
hg commit

pull and merge from the main repo.

Same for subrepo2 et subrepo3.

regards,

Benoit

-- 
:wq



More information about the Mercurial mailing list