threads / discuss / 13327

git-cvsimport problem

Subject: git-cvsimport problem

## tl;dr

2 messages between Apr 30, 2008 and Apr 30, 2008.

replies: 1people: 2as markdown or json

Alenoosh Baghumian· Apr 30, 2008, 05:55 UTC · lore
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:anonymous@lib-pkp.lib.sfu.ca:/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
Michael Haggerty· Apr 30, 2008, 10:12 UTC · re: Alenoosh Baghumian · lore

Re: git-cvsimport problem

Alenoosh Baghumian wrote:
> 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
[1] http://cvs2svn.tigris.org/cvs2git.html

← back to recent threads