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

Re: git fast-import problem converting from CVS with git 1.6.1 and cvs2svn 2.2.0

From
Daniel Barkalow <barkalow@iabervon.org>
Date
Jan 20, 2009, 20:29 UTC
Message-ID
<alpine.LNX.1.00.0901201522250.19665@iabervon.org>
In-Reply-To
<63BEA5E623E09F4D92233FB12A9F794302BC6851@emailmn.mqsoftware.com>
On Tue, 20 Jan 2009, Kelly F. Hickel wrote:
Show 38 quoted lines
> Hello all,
> 
> Back in June I had done a test convert of our CVS repo using git 1.5.5.1
> and cvs2svn 2.2.0 that went reasonably well (although it takes nearly a
> week to finish!).  Recently I wanted to try again with the latest
> versions of git and cvs2svn.
> 
> When I get to the final stage (running git fast-import to build the
> converted repo), I get the following output:
> cat ../cvs2svn-tmp/git-blob.dat ../cvs2svn-tmp/git-dump.dat | git
> fast-import
> fatal: Unsupported command: '.
> fast-import: dumping crash report to .git/fast_import_crash_19097
> 
> The crash is 18MB and I'd rather not post it, but the only bits that
> seem somewhat interesting are:
> fast-import crash report:
>     fast-import process: 19097
>     parent process     : 19095
>     at Mon Jan 19 11:44:42 2009
> 
> fatal: Unsupported command: '.
> 
> Most Recent Commands Before Crash
> ---------------------------------
> (...)
>   reset refs/tags/T_9772
>   from :1000007127
>   reset refs/heads/TAG.FIXUP
>   
>   commit refs/heads/TAG.FIXUP
>   mark :1000007128
>   committer cvs2svn <cvs2svn> 1002043747 +0000
>   data 88
> * '.
> 
> 
> Has anyone got any ideas how to resolve this?

Can you find that part of the input? I wouldn't be too surprised if something were giving the wrong length in a data command, causing it to either eat another data command and end up in the data or to use not-quite-all of the data and end up near the end of the data.

	-Daniel
*This .sig left intentionally blank*
Previous: Johannes Schindelin
Message 7 of 7 in “git fast-import problem converting from CVS with git 1.6.1 and cvs2svn 2.2.0”
  1. Kelly F. HickelJan 20, 2009
  2. Kelly F. HickelJan 20, 2009
  3. Kelly F. HickelJan 22, 2009
  4. Johannes SchindelinJan 22, 2009
  5. Michael HaggertyJan 23, 2009
  6. Johannes SchindelinJan 20, 2009
  7. Daniel BarkalowJan 20, 2009

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.