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