Subject: Re: What to do if git-cvsimport/cvsps hangs?

From: Jakub Narebski <[email-masked]>
Date: Thu, 13 Dec 2007 17:56:02 -0800 (PST)

Florian Weimer <[email-masked]> writes:

> This is probably more of a cvsps question than a GIT question, but
> AFAICT, the cvsps upstream is mostly inactive these days.
> 
> I tried to import the PostgreSQL repository, using
> 
>   git-cvsimport  -d :pserver:[email-masked]:/projects/cvsroot -k -C pgsql pgsql
> 
> However, after a bit of activity, git-cvsimport hangs at the following
> line
> 
>   cvs rlog: Logging pgsql/src/win32
> 
> strace doesn't show any system call activtiy in the cvsps process
> (which consumes 100% CPU).  cvsps is Debian's 2.1-2 version.
> 
> Is there some kind of replacement for cvsps which works more reliably?

You can try set of patches to cvsps there (see GitLinks at Git Wiki,
or git-cvsimport entry at InterfacesFrontendsAndTools)
  http://ydirson.free.fr/en/software/scm/cvsps.html

Or you can try other CVS importers (see InterfacesForntendsAndTools):
 - parsecvs by Keith Packard, used to import X.Org, seems to be
   unmaintaned, requires access to *,v files (but check out cvssuck)
 - fromcvs by Simon 'corecode' Schubert, uses git-fast-import, 
   IIRC in Ruby
 - cvs2svn has _experimental_ support for git export (git-fast-import?)
   so you can try this as well.

-- 
Jakub Narebski
Poland
ShadeHawk on #git