problems converting from CVS to mercurial (via fastimport)
Matt Mackall
mpm at selenic.com
Mon Jun 8 03:40:39 UTC 2015
On Sat, 2015-06-06 at 22:18 +0200, Thomas Klausner wrote:
> Hi!
>
> I'm currently trying to convert the pkgsrc-wip CVS repository
> (pkgsrc-wip.sf.net) to a mercurial repository.
>
> I've been doing it by converting to fossil using cvs2fossil[1]
> (http://www.sonnenberger.org/2014/05/02/bug-fix-update-cvs2fossil/)
> and using fossil's export command to create a git fastimport stream
> (~800MB), which I can successfully import into git. A checkout of
> 'trunk' then gives me the same state as a CVS checkout.
If you've got a Git repo you're happy with, I recommend converting it
with hg-git. Putting CVS in the subject line is misleading at that point
though.
> I've tried importing the same fastimport stream into mercurial using
> the hg-fastimport extension, but it failed with:
>
> Removing blob dir '/home/wiz/Projects/pkgsrc-wip-hg-repo/.hg/blobs' ...
> ** Unknown exception encountered with possibly-broken third-party extension fastimport
This pretty much says it all. I've never even heard of that extension,
so I can't say I'd recommend it. While the fastimport scheme is
advertised as being agnostic.. it's really pretty Git-centric in its
design and data choices and thus we've never been very interested in it.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list