User Tools

Site Tools



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

Link to this comparison view

Next revision
Previous revision
Last revision Both sides next revision
cvs:branch [2007/11/15 19:53]
deva created
cvs:branch [2007/11/16 11:41]
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
 +Example branching at revision tag ''R1'':
 +cvs -d /mnt/data/CVSHOME co -r R1 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.txt · Last modified: 2007/11/16 11:42 by deva