Re: cvs2svn crashes during import (trunk only mode)

Michael Haggerty <[email protected]> Thu, 26 Aug 2010 17:26:19 +0200
Newsgroups gmane.comp.version-control.subversion.cvs2svn.devel
Message-ID <[email protected]>
[email protected] wrote:
> Ok, I did this, and I am able to reproduce it with the reduced repository.
> The interesting thing is that the bug only occurs if the --trunk-only
> option is used.
> 
> You can find the minimalistic cvs repository attached.

The RCS file in your test repository has its default branch set to
"1.12.4.3.2.1.2", which is very unusual.  (The default branch usually
results from a vendor import and is usually something like "1.1.1".)  It
would take some research even to figure out what CVS does with something
like this and therefore how it should be converted into SVN.

If this only occurs in one file in your repository, then hand-editing
the file to fix it (though I'm not sure the best fix) is probably the
easiest alternative.  If it affects lots of files, then you should put
more thought into how the situation arose and how you would like it to
be represented in Subversion.

It is, of course, a bug that cvs2svn crashes in this situation.  It
should, at a minimum, emit an error message and fail in a respectable
manner.

Michael

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=2651748

To unsubscribe from this discussion, e-mail: [[email protected]].