git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git-cvsimport problem

From
Linus Torvalds <torvalds@osdl.org>
Date
May 30, 2006, 04:37 UTC
Message-ID
<Pine.LNX.4.64.0605292122580.5623@g5.osdl.org>
In-Reply-To
<Pine.LNX.4.63.0605300236270.25988@alpha.polcom.net>
On Tue, 30 May 2006, Grzegorz Kulewski wrote:
Show 5 quoted lines
> 
> 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
Previous: Martin Langhoff
Message 3 of 3 in “git-cvsimport problem”
  1. Grzegorz KulewskiMay 30, 2006
  2. Martin LanghoffMay 30, 2006
  3. Linus TorvaldsMay 30, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.