Re: Issues with cvs2git migration

Michael Haggerty <[email protected]> Sun, 30 Oct 2016 12:32:05 +0100
Newsgroups gmane.comp.version-control.subversion.cvs2svn.devel
Message-ID <[email protected]>
Sorry for the late response. The moderation email that I got landed in
my spam folder.

On 10/20/2016 08:48 PM, Anshul Saxena wrote:
> I am running into an issue with cvs2git migration. Following are the
> steps that I am following:
> 
> 1. Local snapshot of the repository that has CVSROOT and the projects
> 2. Ran the following command to get the .dat file generated but the
> files are not generating and I am getting the following error at the Pass 4
> 
> python cvs2git.bat --blobfile=C:\files\git-blob.dat
> --dumpfile=C:\files\git-dump.dat --username=<username> --encoding=utf8
> <local-path-to-repository>
> 
> ERROR:
> Filtering out excluded symbols and summarizing items...
> ERROR: The command 'cvs -Q -R -f -d
> :local:C:\\Anshul_Saxena\\Work\\Migration\\FlightHub\\FusionHub co -r1.1
> -p -kb CVSROOT/checkoutlist' failed with exit status=1
> and the following output:
> cvs checkout: connect to 127.0.0.1(127.0.0.1:2402):2402 failed: No
> connection could be made because the target machine actively refused it.
> cvs [checkout aborted]: Couldn't connect to lock server
> 
> I tried to connect to the server also and then run the command but it
> still failed. I am using Windows 7 box.

cvs2git is trying to run the cvs command that is shown in the error
message, but that command is failing. You need to find out why the
command is failing, which depends on your local setup. If you can get
that command to run, then cvs2git should work.

Alternatively, you might want to use the
`--use-external-blob-generator`, which tells cvs2git to extract the data
from your CVS files itself rather than using cvs commands to do so.
However, if you are using CVSNT then this probably won't work 100%, as
the CVSNT file format is different than that of standard CVS.

Michael

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1667&dsMessageId=3191992

To unsubscribe from this discussion, e-mail: [[email protected]].