info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: pvcs2cvs.pl


From: David Martin
Subject: Re: pvcs2cvs.pl
Date: Sun, 28 Oct 2001 22:58:33 -0600

David,

----- Original Message -----
From: "David Everly" <address@hidden>
To: <address@hidden>
Sent: Wednesday, October 24, 2001 6:12 PM
Subject: pvcs2cvs.pl

> I ran the following on a copy of my pvcs archives:
>
> pvcs2cvs.pl -r flat -p flat
>
> Then copied all the *,v files into a cvs root directory which I then
> did 'cvs init' on.  Should I have taken a different approach here?

I normally would do a cvs init first, then copy the archives over,
but I don't think the order should matter.  I also would recommend
keeping the PVCS and RCS archives in separate directories (i.e.
only use either -r flat or -p flat, but not both).

>
> There was a pvcs floating label which originally was defined as 1.*
> which got converted into 0.1 and it seems I can no longer check out
> based on that label or that revision number.

It's possible a floating label 1.* might not convert properly.  To PVCS,
this typically would refer to the latest revision on the trunk (unless you
have major revision number > 1 e.g. 2.0, 2.1, etc - the script may not
handle this case correctly).  In CVS, the default revision checked out is
the latest revision on the trunk,  so for CVS usage, you could use -r HEAD
or -r 1 instead, or even just use the default trunk revision.

The pvcs2cvs.pl script tries to create a CVS branch tag from a PVCS floating
label, erroneously in this case of 1.*.  A PVCS floating label on the
trunk can't be converted to an equivalent user-defined branch tag in CVS.

> Also, although the
> latest version of the files appear to have been "checked out" into the
> directory along with the ,v and -arc files, the most recent version
> can not be checked out of this new cvs archive.

The checked out files should not appear in your repository area, only
the RCS archives (",v" files) should.  These are likely remnants of the
conversion
process.

You might refer to my readme file at
http://pages.prodigy.net/dlmart/scm/id19.htm
which provides usage detailed on how I've used the conversion script.

Regards,
David Martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]