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
KHKelly F. Hickel <kfh@mqsoftware.com>
Date
Jan 22, 2009, 14:30 UTC
Message-ID
<63BEA5E623E09F4D92233FB12A9F794302BC6921@emailmn.mqsoftware.com>
In-Reply-To
<63BEA5E623E09F4D92233FB12A9F794302BC6855@emailmn.mqsoftware.com>
(Sorry for the mangled quotes)
> That is strange.  The command "data 88" should read the next 88 bytes
and 
Show 14 quoted lines
> 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 
Show 15 quoted lines
> 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 
> 
> -- 
> To unsubscribe from this list: send the line "unsubscribe git" in 
> the body of a message to majordomo@... 
> More majordomo info at  http://vger.kernel.org/majordomo-info.html 
> 
> From: Daniel Barkalow 
> 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 
Show 7 quoted lines
> 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* 
> 
>

I found the section in question, it is: -- snip -- commit refs/heads/TAG.FIXUP mark :1000007128 committer cvs2svn <cvs2svn> 1002043747 +0000 data 88 This commit was manufactured by cvs2svn to create tag 'T_BU_Problem_9xxx_Merge_3-21-2000'. merge :1000007126 M 100755 :180810 mfcdev/Domedit/DlgAddAlias.h -- snap --

By my count, 88 is the ending single quote character, leaving the '.' to be interpreted as a command.

Looks like I should go post this on the cvs2svn list.....
Thanks!

-- Kelly F. Hickel Senior Product Architect MQSoftware, Inc. 952-345-8677 Office 952-345-8721 Fax kfh@mqsoftware.com www.mqsoftware.com Certified IBM SOA Specialty Your Full Service Provider for IBM WebSphere Learn more at www.mqsoftware.com

Previous: Kelly F. HickelNext: Johannes Schindelin
Message 3 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.