info-cvs
[Top][All Lists]
Advanced

[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: Thu, 18 Oct 2007 09:41:36 -0500
User-agent: Thunderbird 2.0.0.6 (X11/20070728)

Jijo Thomas wrote, On 10/18/2007 03:45 AM:
Thank you guys!

I dont call the shots here. They have already transferred the ,v files to
CVS. And now i am asked to find a way to change revision revision that
starts with 116. to 10. Symbolic names won't work here. As we depend on the
revision numbers a lot.


Let me reiterate one thing here, that you should tell to those who do call the shots: One of those undocumented assumptions you'll brake is, CVS (and I think RCS) expects major (and minor) revision numbers to _ALWAYS_INCREASE_.

If you change major revision numbers from 116 to 10, I expect all kinds of broken versions to visit you. It is even possible that if you stay with RCS and bump DOWN the revision numbers strange things will begin to happen, and blaming them on All Hallows Eve or the full moon will not allow them to go away.


Suggestions:
1) start using tags(even with RCS, see `ci -n`)
2) modify scripts as necessary to do the same old stuff using tags instead of revisions. (what you want to do is _probably_ already inherently built in CVS if you use tags.)

Possibly a better suggestion: Describe to us WHY/ for what purpose you have used changing the revision number in the past, so that we can explain how to do the same thing with tags.

Please trust us, tags are MUCH easier to work with, and your current path leads to intense pain.

Don't make us invoke Monty Python _Grail_ lines about bunnies. :)

Jijo

On 10/17/07, Larry Jones <address@hidden> wrote:
Jijo Thomas writes:
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?
You can't, and you don't want to.  The revision numbers are for CVS
internal use.  Use symbolic tags to associate externally meaningful
revision numbers.

-Larry Jones

I think we need to change the rules. -- Calvin




--
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]