Re: cvs2git : git fast-import fails with "fatal: Unsupported command: :1"
Michael Haggerty <[email protected]> Tue, 04 Mar 2014 23:54:34 +0100
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.devel |
|---|---|
| Message-ID | <[email protected]> |
On 03/04/2014 05:35 PM, Jaromir Capik wrote:
> I tried to use cvs2git on a SourceForge CVS repository
> and got the following message:
>
> -------
> fatal: Unsupported command: :1 3059214c3439aeb08bcbb7f3ac3df94c568d3495
> fast-import: dumping crash report to fast_import_crash_18870
> -------
>
> [...]
> Just unpack the content somewhere and change the username
> in the conversion script. The conversion script should
> throw the message above.
The problem is that your conversion script has the following lines:
git fast-import --export-marks=../../git-marks.dat < ../../cp.blob
git fast-import --import-marks=../../git-marks.dat < ../../cp.dump
cat ../../git-marks.dat ../../cp.dump | git fast-import
The first two lines do exactly the same thing as the third line. You
need *either* the first two lines *or* the third line, not both.
> These are the versions I have installed:
> cvs2git-2.3.0-0.9.r5319svn.fc20.noarch
> git-1.8.4.2-1.fc20.x86_64
Version 2.3.0 of cvs2git is quite old. I recommend that you use at
least version 2.4.0, or even better the trunk version.
Michael
--
Michael Haggerty
[email protected]
http://softwareswirl.blogspot.com/
------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=3074039
To unsubscribe from this discussion, e-mail: [[email protected]].