Re: git-cvsimport problem
From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:28
On Tue, 30 May 2006, Grzegorz Kulewski wrote:
and it looks like it hangs in the middle with message: cvs [rlog aborted]: unexpected '\x0' reading revision number in RCS file /home/cvsroot/lms/templates/noaccess.html,v
Are you sure that CVS archive isn't corrupted? That sounds like an internal CVS error to me. Doing a "git cvsimport" will obviously get every single version of every single file, so it will inevitably also hit errors that you migt not hit with a regular "cvs co" (which will only get the current version). There's bound to be some "fsck for CVS" (since people edit files by hand, and mistakes must happen), but I have no idea. That said, it's not like we haven't had our share of cvsps issues and other things, so who knows..
and to my understanding does not do anything usefull next. Nothing is imported (there is only nearly empty .git tree).
Do "git log origin" to see what has been imported. If a cvsimport is broken in the middle, you'll not get any checked-out state, and your HEAD won't point to anything, but the "origin" branch has been created and contains whatever has been imported so far. Linus