Converting large CVS repositories

Michael Haggerty mhagger at alum.mit.edu
Mon Aug 6 12:42:00 CDT 2007


Ulrich Spoerlein wrote:
> On Mon, 06.08.2007 at 07:10:37 +0200, Michael Haggerty wrote:
>> Ulrich Spoerlein wrote:
>>> On Sun, 05.08.2007 at 16:51:02 +0200, solo turn wrote:
>>>> did you ever try to first convert to svn via cvs2svn and then to mercurial?
>>> Thanks for the suggestion, will try. Two questions, though: does cvs2svn
>>> work incremental and which tool would I then use to do the svn->hg
>>> conversion?
>> I'm the main cvs2svn maintainer.
>>
>> 1. cvs2svn currently does not support incremental conversion.
>>
>> 2. I've just added experimental support for using cvs2svn to convert
>> directly from CVS to git.  If there is a good git -> hg converter, then
>> CVS -> git -> hg might be a better route than CVS -> SVN -> hg, as the
>> underlying models of hg and git seem to be pretty close.
>>
>> I'd like to add other output formats to cvs2svn, including mercurial.
>> If anybody in the mercurial community would like to help me figure out
>> how to get information into mercurial that would be a big help.
> 
> I'm sad to inform you that cvs2svn fails when trying to convert one of
> the FreeBSD src/ports repositories. It quickly dies trying to parse the
> RCS files and exits with a KeyError: '1.1.1.1', for example.

Are you using cvs2svn version 2.0rc1?  If not, please do so; there was a
bug in version 1.5.x with symptoms like this.

If not, it would be great if you would report a bug to the cvs2svn
mailing list.  The FAQ [1] tells how to create a useful bug report.

Michael

[1] http://cvs2svn.tigris.org/faq.html#reportingbugs
    http://cvs2svn.tigris.org/faq.html#testcase


More information about the Mercurial mailing list