[PATCH 0 of 3] hg splitrepo

Alexis S. L. Carvalho alexis at cecm.usp.br
Sat Sep 1 01:56:35 CDT 2007


Hi

As I mentioned before, hg convert --filemap doesn't handle merges 
correctly, and I don't really think it's possible to do it entirely in
the generic converter code.  And after 33015dac5df5 I managed to break 
it even for simple cases where we don't want the first revision...

This patchset adds a special mercurial_source that should do the right
thing with merges, with the help of a small patch to the generic source.

The first patch just moves code around to be able to reuse the
destination repo creation logic from hg convert.

The second patch adds support for skipping a revision (saving that info
in the shamap).

The third adds hg splitrepo, with a reasonably thorough test.

If this patchset looks good, I'd like to remove the --filemap option
from hg convert.

Alexis


More information about the Mercurial-devel mailing list