[CFT] cvs -> hg importer
Chris Mason
mason at suse.com
Tue Jun 27 20:15:04 UTC 2006
Hello everyone,
Attached is a simple cvs importer I wrote up a while ago. Over the long term,
it may make sense to plug it into the convert-repo style classes, and perhaps
to break convert-repo out into its own project.
This can also be downloaded from:
ftp://ftp.suse.com/pub/people/mason/mercurial/hg-cvs-import
The code uses cvsps to create the changesets and rcs command line tools to
read from a copy of the cvs root. My 2Ghz test box converted 10,500 csets in
48 minutes.
I'm not sure if any of the other converters support multiple cvs branches, but
this one does. At some point we need to figure out the "best" way to convert
from cvs and clean up / integrate the tools. We've got a few different tools
that are good at different things, but not one great tool.
Quick docs are at the top of the script. Make sure to run this on a copy of
your cvs root, not the original.
Peter, this replaces the script I sent you a few weeks ago. The tag handling
is improved.
-chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hg-cvs-import
Type: application/x-python
Size: 7551 bytes
Desc: not available
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20060627/86912134/attachment-0001.bin>
More information about the Mercurial
mailing list