git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-cvsimport problem
@ 2008-04-30  5:55 Alenoosh Baghumian
  2008-04-30 10:12 ` Michael Haggerty
  0 siblings, 1 reply; 7+ messages in thread
From: Alenoosh Baghumian @ 2008-04-30  5:55 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 7+ messages in thread
* git-cvsimport problem
@ 2008-05-07 11:30 Alenoosh Baghumian
  2008-05-28 12:15 ` Madhu
  0 siblings, 1 reply; 7+ messages in thread
From: Alenoosh Baghumian @ 2008-05-07 11:30 UTC (permalink / raw)
  To: git

Hi all

I run git-cvsimport in verbose mode and I see "* UNKNOWN LINE * 
Branches:" many times during execution , will that cause any problem ?
And my repository doesn't include any branches ? so why do I see this 
message ?

Thanks in advance .
Alenoosh

^ permalink raw reply	[flat|nested] 7+ messages in thread
* git-cvsimport problem
@ 2006-05-30  1:06 Grzegorz Kulewski
  2006-05-30  1:56 ` Martin Langhoff
  2006-05-30  4:37 ` Linus Torvalds
  0 siblings, 2 replies; 7+ messages in thread
From: Grzegorz Kulewski @ 2006-05-30  1:06 UTC (permalink / raw)
  To: Git Mailing List

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-05-28 12:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-30  5:55 git-cvsimport problem Alenoosh Baghumian
2008-04-30 10:12 ` Michael Haggerty
  -- strict thread matches above, loose matches on Subject: below --
2008-05-07 11:30 Alenoosh Baghumian
2008-05-28 12:15 ` Madhu
2006-05-30  1:06 Grzegorz Kulewski
2006-05-30  1:56 ` Martin Langhoff
2006-05-30  4:37 ` Linus Torvalds

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).