hg convert eats empty changesets

Peter Hosey boredzo at gmail.com
Thu Jun 30 02:46:12 CDT 2011


I'm converting a repository from Mercurial to Mercurial with a filemap using hg 1.8.4.

One thing I've noticed is that if a changeset is empty (such as when it contained only property changes in the old Subversion repository or because it only affected files that have been filemapped out), hg convert will eat the changeset: The output repository does not have the changeset at all.

This may be a recent (as in sometime since 2008) change, since the original conversion from Subversion did not eat the property-only changesets, unless it only happens for Mercurial->Mercurial conversions.

Is there any way to preserve “empty” changesets? I don't see one in the ConvertExtension page or in help convert.



More information about the Mercurial mailing list