problems converting from CVS to mercurial (via fastimport)
Benjamin Fritz
fritzophrenic at gmail.com
Mon Jun 8 14:19:23 UTC 2015
On Sat, Jun 6, 2015 at 3:18 PM, Thomas Klausner <tk at giga.or.at> wrote:
>
> 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.
>
> I've tried importing the same fastimport stream into mercurial using
> the hg-fastimport extension, but it failed
Have you tried converting directly from CVS to Mercurial with the Convert
extension, which is distributed with Mercurial?
https://mercurial.selenic.com/wiki/ConvertExtension
If you've tried it and it doesn't meet your needs, then what do you need it
to do that it doesn't do?
If you have not tried that, I'd suggest going that way first, since right
now you have multiple possible places where errors can be introduced (and
it's a very roundabout path anyway). From what I see you are doing:
CVS -> Fossil -> Fastimport? -> Git -> Mercurial
But you could instead do:
CVS -> Mercurial
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20150608/0757492e/attachment-0002.html>
More information about the Mercurial
mailing list