[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sun, 28 Oct 2001 22:58:33 -0600
----- Original Message -----
From: "David Everly" <address@hidden>
Sent: Wednesday, October 24, 2001 6:12 PM
> 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
You might refer to my readme file at
which provides usage detailed on how I've used the conversion script.
- pvcs2cvs.pl, David Everly, 2001/10/24
- Re: pvcs2cvs.pl,
David Martin <=