David Leskovac wrote:
Sorry for the basic question but I need to implement a new branch
naming scheme & want to make sure I am doing this correctly.

To start this process, I need to rename several existing branches.

Would this work for each branch to be renamed?:
cvs rtag -b -r <original_branch_name> <new_branch_name> <module>
cvs rtag -d <original_branch_name>

I am aware of the -B argument to rtag. But, the version of cvs that
we use is so old (1.11.1p1) that it pre-dates that argument.

That will probably get you where you want to be, although it doesn't really do what your stated goal is (to rename the branch). It will create a new branch and delete the old branch. The effect will be the same, but be aware that you will be branching off a branch. Suppose, for example, that the tip revision for a particular file on original_branch_name is 1.2.2.2:


Before branch add and delete:
1.1 --- 1.2 --- ...
         \
          + --- 1.2.2.1 --- 1.2.2.2

after branch add and delete:

1.1---1.2--- ...
       \
        +---1.2.2.1---1.2.2.2---X <--old branch (effectively dead)
                          \
                           + ---1.2.2.2.2.1 <-- new branch

'cvs co -r new_branch_name' will retrieve the correct branch.

--
Jim




_______________________________________________ Info-cvs mailing list [email protected] http://lists.gnu.org/mailman/listinfo/info-cvs

Reply via email to