# git-cvsimport problem

2 messages from 2008-04-30 to 2008-04-30. Participants: Alenoosh Baghumian, Michael Haggerty.
Thread: https://gitlist.dev/t/13327

## Alenoosh Baghumian, 2008-04-30 05:55

Subject: git-cvsimport problem
Message-ID: <481809D6.5010207@opensourceclub.org>
URL: https://gitlist.dev/e/481809D6.5010207%40opensourceclub.org

```
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, 2008-04-30 10:12

Subject: Re: git-cvsimport problem
Message-ID: <4818462A.4090709@alum.mit.edu>
URL: https://gitlist.dev/e/4818462A.4090709%40alum.mit.edu
In-Reply-To: <481809D6.5010207@opensourceclub.org>

```
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

```
