Wednesday, January 12, 2011

How to move a tag to the tip of a branch?

CVS allows an existing tag to be moved to the tip of a branch in one operation (tag -F) so with this method we don't have to execute an additional “cvs rtag –d” operation to clean out the tag and then “cvs tag”.

Step 1: View the current Graph Selection: Right click on file2.txt file -> click on Graph selection…


Step 2: Update file2.txt and commit it to version 1.2.2.2

Step 3: Repeat Step 1 – Note that we want to move R-0-1-1 to version 1.2.2.2.

Step 4: Moving R-0-1-1: Admin -> Command Line … -> Enter “cvs tag –F R-0-1-1” in Command line settings window -> click on OK button in Command line settings window.

Step 5: Verify Changes:
cvs tag -F R-0-1-1
T file2.txt

*****CVS exited normally with code 0*****
Or repeat Step 1:

No comments: