git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-cvsimport problem

From
GKGrzegorz Kulewski <kangur@polcom.net>
Date
May 30, 2006, 01:06 UTC
Message-ID
<Pine.LNX.4.63.0605300236270.25988@alpha.polcom.net>
Hi,

I think I hit some problem in git-cvsimport or maybe cvsps or maybe (but unprobable) in network communication.

I am trying to do:

git-cvsimport -d :pserver:cvs@cvs.rulez.pl:/home/cvsroot -C lms -i -k -u -m -v lms

and it looks like it hangs in the middle with message:

cvs [rlog aborted]: unexpected '\x0' reading revision number in RCS file /home/cvsroot/lms/templates/noaccess.html,v

and to my understanding does not do anything usefull next. Nothing is imported (there is only nearly empty .git tree). I have to press CTRL-C to stop it.

strace: [pid 30796] read(3, "---------------------\nM revision"..., 4096) = 2068 [pid 30796] read(3, "M date: 2003/06/20 21:07:56; au"..., 4096) = 1448 [pid 30796] read(3, ".19\nM date: 2003/05/26 21:05:47;"..., 4096) = 1448 [pid 30796] read(3, " revision 1.15.2.3\nM date: 2003/"..., 4096) = 1276 [pid 30796] write(2, "cvs [rlog aborted]: unexpected \'"..., 117cvs [rlog aborted]: unexpected '\x0' reading revision number in RCS file /home/cvsroot/lms/templates/noaccess.html,v ) = 117 [pid 30796] read(3, <-- hangs on that read

ps: kangur 30791 30556 3 02:55 pts/4 S+ 0:00 \_ strace -f git-cvsimport -d :pserver:cvs@cvs.rulez.pl:/home/cv kangur 30792 30791 2 02:55 pts/4 S+ 0:00 \_ /usr/bin/perl -w /usr/bin/git-cvsimport -d :pserver:cvs@c kangur 30796 30792 18 02:55 pts/4 S+ 0:03 \_ cvsps --norc --cvs-direct -u -A --root :pserver:cvs@c

file descriptors: kangur@beta ~ $ ls -al /proc/30796/fd/ total 5 dr-x------ 2 kangur users 0 May 30 02:55 . dr-xr-xr-x 3 kangur users 0 May 30 02:55 .. lrwx------ 1 kangur users 64 May 30 02:57 0 -> /dev/pts/4 l-wx------ 1 kangur users 64 May 30 02:57 1 -> pipe:[429154] lrwx------ 1 kangur users 64 May 30 02:55 2 -> /dev/pts/4 lrwx------ 1 kangur users 64 May 30 02:57 3 -> socket:[429155] lrwx------ 1 kangur users 64 May 30 02:57 4 -> socket:[429155] kangur@beta ~ $ ls -al /proc/30792/fd/ total 6 dr-x------ 2 kangur users 0 May 30 02:55 . dr-xr-xr-x 3 kangur users 0 May 30 02:55 .. lrwx------ 1 kangur users 64 May 30 02:57 0 -> /dev/pts/4 lrwx------ 1 kangur users 64 May 30 02:57 1 -> /dev/pts/4 lrwx------ 1 kangur users 64 May 30 02:55 2 -> /dev/pts/4 lr-x------ 1 kangur users 64 May 30 02:57 3 -> /home/kangur/.cvspass lrwx------ 1 kangur users 64 May 30 02:57 4 -> socket:[429124] lr-x------ 1 kangur users 64 May 30 02:57 5 -> pipe:[429154] kangur@beta ~ $ ls -al /proc/30791/fd/ total 3 dr-x------ 2 kangur users 0 May 30 02:55 . dr-xr-xr-x 3 kangur users 0 May 30 02:55 .. lrwx------ 1 kangur users 64 May 30 02:58 0 -> /dev/pts/4 lrwx------ 1 kangur users 64 May 30 02:58 1 -> /dev/pts/4 lrwx------ 1 kangur users 64 May 30 02:55 2 -> /dev/pts/4

netstat: tcp 0 0 beta.polcom.net:50743 netx.waw.pl:cvspserver ESTABLISHED tcp 0 0 beta.polcom.net:50744 netx.waw.pl:cvspserver ESTABLISHED

I am using: git version 1.3.3 cvsps version 2.1

What is going on?
Thanks in advance,
Grzegorz Kulewski
Next: Martin Langhoff
Message 1 of 3 in “git-cvsimport problem”
  1. Grzegorz KulewskiMay 30, 2006
  2. Martin LanghoffMay 30, 2006
  3. Linus TorvaldsMay 30, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.