User Tools

Site Tools


cvs:branch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
cvs:branch [2007/11/15 19:53] – created devacvs:branch [2007/11/16 11:42] (current) deva
Line 1: Line 1:
 =====Making a branch===== =====Making a branch=====
-A new branch can be created at the place a tag was applied, then changes can be committed into the new branch as follows:+Change to the directory containing the code you want to brach from (ex. use ''cvs co -r [tagname]'' to branch old tagged code).\\ 
 +Now you can add the branch by issuing the following command:
 <code> <code>
-cvs rtag -r [tagname] [new branchname] [my_module] +cvs tag -[new branchname]
-cvs update -r [new branchname]+
 </code> </code>
 +
 Finish changes to the working directory, then Finish changes to the working directory, then
 <code> <code>
 cvs commit cvs commit
 +</code>
 +
 +Example branching at revision tag ''R1'':
 +<code>
 +cvs -d /mnt/data/CVSHOME co -r R0_3_3 miav
 +cd miav
 +cvs tag -b stable_0_3
 +# do some changes in the code
 +cvs commit -m"Made a change in a branch"
 </code> </code>
cvs/branch.1195152826.txt.gz · Last modified: 2007/11/15 19:53 by deva