info-cvs
[Top][All Lists]
Advanced

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

RE: Setting the revision number of a particular file


From: Anders Truelsen
Subject: RE: Setting the revision number of a particular file
Date: Tue, 4 Jun 2002 10:09:17 +0200

>I changed a file and then invoked the following command:  cvs commit -r
3.0
>Text9.txt. I updated the log file. The file was set to revision 3.0 and
>tagged 3.0. 
>Then I changed the file again and tried to commit it. The following
error
>occurred:

>cvs commit -m Testing text9.txt (in directory D:\Projects\Train\)
>cvs server: sticky tag `3.0' for file `text9.txt' is not a branch
>cvs [server aborted]: correct above errors first!

>*****CVS exited normally with code 1*****

The usual cure: cvs update -A


> I just want to set the revision to 2.0 and then from there it must
> automatically go to 2.1 etc. It must not affect the other files.

Well it does!
I've only tried it once, and all new files started at 3.1 instead 1.1
from then on. I never managed to revert the effect :-(
I do _not_ recommend tampering with the major number.

regards
/anders



reply via email to

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