cvs:branch
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
cvs:branch [2007/11/15 19:53] – created deva | cvs:branch [2007/11/16 11:35] – 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 | + | Change to the directory containing the code you want to brach from (ex. use '' |
+ | Now you can add the branch | ||
< | < | ||
- | cvs rtag -r [tagname] [new branchname] [my_module] | + | cvs tag -b [new branchname] |
- | cvs update -r [new branchname] | + | |
</ | </ | ||
+ | |||
Finish changes to the working directory, then | Finish changes to the working directory, then | ||
< | < | ||
cvs commit | cvs commit | ||
+ | </ | ||
+ | |||
+ | Example branching at revision tag '' | ||
+ | < | ||
+ | cvs -d / | ||
+ | cd miav | ||
+ | cvs tag -b B1 | ||
+ | # do some changes in the code | ||
+ | cvs commit -m" | ||
</ | </ |
cvs/branch.txt · Last modified: 2007/11/16 11:42 by deva