I am trying to convert a CVS repositorys to GIT. But I only want to convert module by module because otherwise i get fals commits and file differences. The repository contains 1 CVSROOT and 4 modules.
All commands are from this cvs2git documentation. When i do it with the command-line options:
python path\to\cvs2git --blobfile=cvs2svn-tmp\git-blob.dat --dumpfile=cvs2svn-tmp\git-dump.dat "--username=cvs2git" \\remoteServer\path\to\myrepo\module
the migration works.
The repository lies on a remote server and the git-blob.dat and git-dump.dat are created on my pc.
To be more fexlible and to convert CVS-authors to git authors I want to use the options-file method but i get an error when doing so.
The steps
- pass1 (CollectRevsPass)
- pass2 (CleanMetadataPass)
- pass3 (CollateSymbolsPass)
working fine but in pass4 (FilterSymbolsPass) i get an error:
The path to the module i want to convert is \\remoteServer\path\to\myrepo\module
.
Filtering out excluded symbols and summarizing items... ERROR: The command 'cvs -Q -R -f -d :local:\\remoteServer\path\to\myrepo K co -r1.1 -p -kb module/.cvsignore' failed with exit status=1 and the following output: cvs [checkout aborted]: Local access to network share not supported (Use -N to o verride this error).
I dont know why this is because I used the same path to the repository in both the options-file and the command- line method.
So how do I solve this problem?