Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

move branch tag

Status
Not open for further replies.

diven

Programmer
Nov 23, 2006
3
0
0
CA
I know the cvs manual says moving a branch tag is dangerous is dangerous but I believe it is safe in my situation and the thing that makes sense to do.

This is a model of the versions for one of our files. (Not many changes to it)
vendor 1.1.1.1 -> 1.1.1.2

trunk 1.1 ----------------> 1.2

1.1 obviously is the same as 1.1

v2_2 points to 1.1.1.2

some how v2_3 points to 1.1

and then I created v2_4_patches branch pointing to v2_3 which is incorrectly pointing to 1.1

v2_4 is on the v2_4_patches branch because basically what was in 1.2 was supposed to be part of v2_4 but we decided to leave it till the next release.

There have been no updates to this file on the v2_4_patches branch.

I assume it would be safe to do under these circumstances

$ cvs tag -r 1.1.1.2 -F v2_3 <filename>
$ cvs tag -B -r 1.1.1.2 -F v2_4_patches <filename>
$ cvs tag -r 1.1.1.2 -F v2_4 <filename>

can someone confirm?
 
I believe this:
$ cvs tag -B -r 1.1.1.2 -F v2_4_patches <filename>

should actually be changed to

$ cvs tag -B -b -r 1.1.1.2 -F v2_4_patches <filename>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top