Re: git-cvsimport problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
-
: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]