problems converting from CVS to mercurial (via fastimport)

Matt Mackall mpm at selenic.com
Mon Jun 8 18:39:09 UTC 2015


On Sat, 2015-06-06 at 22:18 +0200, Thomas Klausner wrote:

> I've then tried converting the git repository to mercurial using 'hg
> convert'; this works, but gives me two files that are CVS 'dead' in
> the hg checkout, and diffs for two other files (compared to the CVS or
> git checkouts). I'm not sure how to find out why these artifacts
> happen, since they don't appear in git and look fine in CVS AFAICT.

Convert does something weird with git branches vs remotes -> bookmark
mapping. So you may not actually be on the commit you think you're on.
See:

http://bz.selenic.com/show_bug.cgi?id=4681#c3

At any rate, hg-git is now the gold standard for git->hg conversion,
since it's deployed in production for continuous conversion of some very
large repositories.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial mailing list