[Top][All Lists]

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

Re: How can I change revision numbers xxx.yy to zzz.yy in CVS?

From: Todd Denniston
Subject: Re: How can I change revision numbers xxx.yy to zzz.yy in CVS?
Date: Wed, 17 Oct 2007 09:10:36 -0500
User-agent: Thunderbird (X11/20070728)

Jijo Thomas wrote, On 10/17/2007 02:53 AM:
I have a set of files in RCS. They have revision numbers of the form 116.xx.
Now, I need to migrate the ,v to CVS.
If I copy the ,v files from RCS repository to CVS repository, I'll have the
revisions of the file of the form 116.xx/

Now, I have a requirement that I need the revisions to have the form
10.xxinstead of
116.xx. How can I make this happen?

Please help.

I would point you to the specific FAQ entry[1] but ximibot has been acting a little funky lately, so if that link does not work try going to the FAQ[2] and searching for 'Is there a way to change the versions of files to 2.X?'.

Also in your case I think one of those undocumented assumptions you'll brake is, CVS expects major (and minor) revision numbers to ALWAYS INCREASE.

I am beginning to think we need an rcs-to-cvs...UGH some one thought of it before me[3]. we probably also need a cvs-to-cvs for those folks who inherited a repository where someone made the mistake of using `cvs commit -r 2.1`. Of course we need versions of rcs-to-cvs and cvs-to-cvs that instead of copying the ,v files, do checkouts and commits ala sccs2rcs[4] so that bad choices of setting revision numbers get wiped out (make the assumption only the TRUNK matters).

[3] [4]

Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

reply via email to

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