threads / discuss / 17076

trouble getting git cvsimport working

Subject: trouble getting git cvsimport working

## tl;dr

4 messages between Jan 10, 2009 and Jan 10, 2009.

replies: 3people: 2as markdown or json

Caleb Cushing· Jan 10, 2009, 13:16 UTC · lore
not sure what I'm doing wrong.
actual cvs command
cvs -d :pserver:anonymous@anoncvs.gentoo.org:/var/cvsroot co gentoo-x86
what I'm trying

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: no data
WARNING: malformed CVS version str: (UNKNOWN CLIENT)
WARNING: Your CVS client version:
[(UNKNOWN CLIENT)]
and/or server version:
[(UNKNOWN SERVER)]
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.

sh: cvs: command not found DONE; creating master branch fatal: refs/heads/origin: not a valid SHA1 fatal: master: not a valid SHA1 fatal: You are on a branch yet to be born checkout failed: 32768

help would be appreciated.
-- 
Caleb Cushing

http://xenoterracide.blogspot.com
Caleb Cushing· Jan 10, 2009, 14:35 UTC · re: Johannes Schindelin · lore

Re: trouble getting git cvsimport working

>  > sh: cvs: command not found
>
>
> What's this?

does git need more than cvsps to work (I assumed my package manager had installed all needed deps)? I installed cvs after you pointed that out...

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.

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 DONE; creating master branch fatal: refs/heads/origin: not a valid SHA1 fatal: master: not a valid SHA1 fatal: You are on a branch yet to be born checkout failed: 32768

-- 
Caleb Cushing

http://xenoterracide.blogspot.com
Johannes Schindelin· Jan 10, 2009, 14:55 UTC · re: Caleb Cushing · lore

Re: trouble getting git cvsimport working

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

← back to recent threads