Re: How to change revision number for all files of a project?

"Denniston, Todd A CIV NAVSURFWARCENDIV Crane, Code JSXN" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
Ben Stover wrote, On 12/09/2009 01:56 PM:
> After adding some files to a certain project they are listed with revision number 0
> while the other (and still valid) files in CVS repository are labelled 1.7
> 
> How can I replace the revision number of the newly added files with a number of the already existing files 1.7?
> 

http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=change+revision&submit=Search!&idxname=info-cvs&max=20&result=normal&sort=score

http://lists.gnu.org/archive/html/info-cvs/2007-10/msg00074.html
http://lists.gnu.org/archive/html/info-cvs/2007-10/msg00082.html
http://lists.gnu.org/archive/html/info-cvs/2007-10/msg00072.html


> Alternatively: How can I tag ALL current files of a project with the same revision number?
> 

cvs checkout project
cd project
cvs tag my1_7tag
#IIRC '.' cant be used in tag names.
http://ximbiot.com/cvs/manual/
http://ximbiot.com/cvs/manual/cvs-1.11.23/cvs_4.html#SEC48

I highly suggest grabbing a copy of
http://ftp.gnu.org/non-gnu/cvs/source/stable/1.11.23/cederqvist-1.11.23.html.tar.bz2
or
http://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cederqvist-1.12.13.html.tar.bz2
as appropriate for the version you are using, to keep in your bookshelf.

> Ben




-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
http://www.crane.navy.mil/custfeedback
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.