[p4] cvs2p4 - Newbie question
Ildefonzo Arocha
ilde.web at gmail.com
Mon Dec 18 05:09:35 PST 2006
Hello,
I am in the process of testing Perforce for our company. I have downloaded
the evaluation version for Linux 2.4 kernel.
One critical factor on the decision over Perforce is its possibility to
convert our existing CVS repository, I am testing with cvs2p4 with no luck
:(
When I try to run test/runtest I get the following error:
===== Lines referenced:
OneDB
Release_4_02_05
Release_4_03_01
Release_5_01_01
branch_Globopharm
cvs
shemp
warp
runtest> diff /iar/cvs2p4/cvs2p4-3.0b6/test/lines.good /iar/cvs2p4/cvs2p4-
3.0b6/test_conv_dir/lines
2,8c2,7
< cabesa
< chupa
< curly
< curly2
< curly3
< ha
< larry
---
> OneDB
> Release_4_02_05
> Release_4_03_01
> Release_5_01_01
> branch_Globopharm
> cvs
10,12c9
< vtag
< xxx
< yyy
---
> warp
runtest: *** "diff /iar/cvs2p4/cvs2p4-3.0b6/test/lines.good
/iar/cvs2p4/cvs2p4-3.0b6/test_conv_dir/lines" exited with signal 0 status 1
runtest: *** genmetadata bad results
runtest> rm -f /iar/cvs2p4/cvs2p4-3.0b6/test/,v
runtest> rm -f /iar/cvs2p4/cvs2p4-3.0b6/test/xy,v
runtest> rm -f /iar/cvs2p4/cvs2p4-3.0b6/test/baÿÔdab,v
Whatever that means???!! I find no documentation about what this error is
about, or how to get around it.
I ignored the error and tried a conversion, then I get the following error:
===== Lines referenced:
OneDB
Release_4_02_05
Release_4_03_01
Release_5_01_01
branch_Globopharm
cvs
shemp
warp
========== genchanges
Mon Dez 18 13:11:02 CET 2006
========== dochanges
Mon Dez 18 13:11:08 CET 2006
dochanges: cannot recognize p4d version in:
*** dochanges FAILED
Not been a Perl programmer I was able to track down where the error is
printed out to "p4d_vers" in "lib/util.pl"
sub p4d_vers
{
my ($P4D) = @_;
my $v = `$P4D -V`;
my ($y, $r) = ($v =~ m/\nRev. P4D\/[^\/]+\/(\d+)\.(\d+).*\//);
if (! $v || ! $r)
{ print "$Myname: cannot recognize p4d version in:\n$v\n"; exit 1; }
return ($y, $r);
}
p4d and p4 are in my $PATH, I am working as root, and pfd -V outputs:
Perforce - The Fast Software Configuration Management System.
Copyright 1995-2006 Perforce Software. All rights reserved.
Portions copyright 1991-2005 Compuware Corporation.
Rev. P4D/LINUX24X86/2006.1/109255 (2006/10/17).
License: none
So something is not getting correctly parsed, don't know where, and don't
know if I should even modify this file.
Can anyone help me here? I have one week for testing a whole bunch of stuff
and convincing the management why Perforce is a must.
I am no Linux expert and have no experience with Perforce, so please be
gentle with the answers!
Red Hat Linux, Kernel 2.4
Perforce 2006.1
Thanks in advance,
Ildefonzo
More information about the perforce-user
mailing list