Merging Mercurial Repositories

Isaac Jurado diptongo at gmail.com
Mon Jul 13 16:34:47 CDT 2009


Replying Stephen Rasku:
>
> 1. Creating a new sub-directory, subdir1, in repo1 and hg mv all the
> files down one-level into this sub-directory.

You can use the convert extension to convert from hg to hg with the
--filemap option (see "hg help convert" when convert is enabled in your
~/.hgrc) in order to move all files to the subdirectory.

The difference is that you generate a new history with everything
renamed in each changeset, instead of only a certain point in history.

That depends on your tastes.

-- 
Isaac Jurado
http://www.krenel.net

"The noblest pleasure is the joy of understanding."
                                  Leonardo da Vinci


More information about the Mercurial mailing list