Re: trouble getting git cvsimport working
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jan 10, 2009, 14:55 UTC
- Message-ID
- <alpine.DEB.1.00.0901101553590.30769@pacific.mpi-cbg.de>
- In-Reply-To
- <81bfc67a0901100635i4d33c294x393a8d2dfc2b0e0d@mail.gmail.com>
Hi,
On Sat, 10 Jan 2009, Caleb Cushing wrote:
Show 16 quoted lines
> git cvsimport -a -v -d > :pserver:anonymous@anoncvs.gentoo.org/var/cvsroot/ gentoo-x86 -C > portage > Initialized empty Git repository in /home/portdev/cvs/portage/.git/ > Running cvsps... > parse error on third token > WARNING: malformed CVS version str: Server: (unknown) > WARNING: Your CVS client version: > [Client: Concurrent Versions System (CVS) 1.12.12 (client)] > and/or server version: > [Server: (unknown)] > are too old to properly support the rlog command. > This command was introduced in 1.11.1. Cvsps > will use log instead, but PatchSet numbering > may become unstable due to pruned empty > directories.
This is the problem.
> cvs log: warning: failed to open /home/portdev/.cvspass for reading: > No such file or directory > cvs log: in directory .: > cvs [log aborted]: there is no version here; run 'cvs checkout' first
And this is the solution: Just try
$ cvs -d :pserver:anonymous@anoncvs.gentoo.org/var/cvsroot/ \ co gentoo-x86 $ cd gentoo-x86 $ git cvsimport -v
(I assume it is a live repository, so -a is dangerous.)
Hth, Dscho