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
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 20, 2009, 16:41 UTC
Message-ID
<alpine.DEB.1.00.0901201736210.5159@intel-tinevez-2-302>
In-Reply-To
<63BEA5E623E09F4D92233FB12A9F794302BC6851@emailmn.mqsoftware.com>
Hi,
On Tue, 20 Jan 2009, Kelly F. Hickel wrote:
Show 28 quoted lines
> 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
> * '.
> 
> 

That is strange. The command "data 88" should read the next 88 bytes and not stop at the line starting with '.

Just to test, I successfully imported this:

-- snip -- commit refs/heads/testing/test mark :1 committer cvs2svn <cvs2svn> 1002043747 +0000 data 3 '.

-- snap --

So I guess the problem lies much earlier: I could imagine that there is _another_ "data" command that has a bogus length and just happens to end after the line "data 88".

Maybe that helps?

I could also imagine that the '. actually is the end of an example inside a blob, that literally looks like a fast-import script, but actually is not meant for _this_ fast-import run.

Ciao, Dscho

Previous: Michael HaggertyNext: Daniel Barkalow
Message 6 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.