info-cvs
[Top][All Lists]
Advanced

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

Re: Help on newly added files on branch


From: Todd Denniston
Subject: Re: Help on newly added files on branch
Date: Mon, 16 Jul 2007 08:25:55 -0500
User-agent: Thunderbird 1.5.0.12 (X11/20070509)

Sumanth M wrote:
I need to branch the newly added file with out having version on main. I
know that I can do it by
cvs ci -r branch_name filename
so that it will  create versions  1.1.2.1 , 1.1.2.2 etc.

But I have a requirement in which created versions should be of 10.1.2.1,
10.1.2.2 etc

Also we know that cvs finds the highest numbered revision of any file in
the  directory, takes the first digit, and assigns a revision of <digit>.1
to new files, but why this one is also not happening in the above case.

Suppose  I have  10.1 revision in my directory and when i am doing "cvs ci
-r branch_name filename", still its creating the revisions starting with
digit 1 ,instead of 10

Can any one help me on this??

Thanks
sumanth


Although you can, do what you ask the way you asked, it is NOT advised.

Those REVISION numbers are for CVS's book keeping, and you humans should ignore them. Remember REVISION numbers are for CVS, _TAGS_ are for humans.


The answers (to even the question you asked) can be found at the following link:
http://ximbiot.com/cvs/wiki/index.php?title=CVS_FAQ#Is_there_a_way_to_change_the_versions_of_files_to_2.X.3F

Please definitely read "How to go back..." and "Re: Updating revision number on a branch." from that link before executing the revision changes.

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