Converting from CVSNT
Greg Ward
greg-hg at gerg.ca
Fri Jun 26 07:36:02 CDT 2009
On Thu, Jun 25, 2009 at 3:29 PM, Michael Haggerty<mhagger at alum.mit.edu> wrote:
> With the latest trunk version of cvs2svn, it should also be possible to
> convert directly from CVS to the hg-fastimport format by starting from
> the "cvs2hg-example.options" options file. However, there haven't been
> many reports about how well this works, so if you try this, please
> report your experiences.
Well, *I'm* the maintainer of hg-fastimport, and I have done one
conversion using cvs2git (another of cvs2svn's personalities) and
hg-fastimport. It worked, but it's slow and takes lots of memory. If
you really want to make git look good, compare git-fast-import to hg
fastimport. ;-(
Part of the problem is hg-fastimport's inefficient handling of blobs
(git-speak for "file contents") and part is that I recently overhauled
hg-fastimport to use the 'convert' extension as its backend, and
'convert' keeps too much stuff in memory (so that it can toposort the
changesets).
Anyways... it might work for small/simple CVS repositories right now,
but those are the kind of repos that "hg convert" doesn't mind.
(Although it doesn't handle branches correctly in all cases.) There
is lots of work to be done on hg-fastimport though.
Greg
More information about the Mercurial
mailing list