git-cvsimport problem
Hi
I want to import a remote cvs repository to git , here's what I do :
$ mkdir git-test $ chmod 775 git-test/ $ chmod +s git-test/ $ chmod +t git-test/ $ cd git-test git-test$ git-cvsimport -k -i -d :pserver:[email protected]:/cvs -C myproj ojs2 -v
the output is the following :
Initialized empty Git repository in /home/tux/git-test/myproj/.git/ Running cvsps...
.
.
.
cvs rlog: Logging ojs2/classes/session cvs rlog: Logging ojs2/classes/site
cvs rlog: Logging ojs2/classes/submission cvs rlog: Logging ojs2/classes/subscription cvs rlog: Logging ojs2/classes/subscription/form cvs rlog: Logging ojs2/classes/tasks
.
.
.
.
cvs rlog: Logging ojs2/pages/layoutEditor cvs rlog: Logging ojs2/pages/login cvs rlog: Logging ojs2/pages/manager cvs rlog: Logging ojs2/pages/oai
cvs rlog: Logging ojs2/pages/payment cvs rlog: Logging ojs2/pages/proofreader cvs rlog: Logging ojs2/pages/reviewer
git-cvsimport: fatal: cvsps reported error
and every time I run this , it stops at the same point and gives that error.
Do you have any idea ?
Thanks in advance ...
Alenoosh
Quoted 2 lines · Alenoosh Baghumian
I want to import a remote cvs repository to git [...]
git-cvsimport: fatal: cvsps reported error
This is typically caused by the inability of cvsps to handle complicated CVS repositories or by corruption in your CVS repository.
If you are doing a one-time conversion, try using cvs2git/cvs2svn [1]. It is capable of handling more complicated CVS repositories.
Even if you need incremental conversion, you might want to try cvs2git anyway, as it might give you a better error message if your CVS repository is corrupt in some way.
Michael