Check Out Tagged Version of Project-Name
cvs co -r tag_name Project-Name
Creating the Branch
http://kb.wisc.edu/middleware/page.php?id=4087#creating
- Tag the root of the branch, so you can get back.
sandbox$ cvs tag NEW_FEATURE_ADD_ROOT
- Actually create the branch, at the point that you just marked.
sandbox$ cvs tag -b -r NEW_FEATURE_ADD_ROOT \
NEW_FEATURE_ADD_BRANCH - Actually move your working directory in to the branch.
sandbox$ cvs up -r NEW_FEATURE_ADD_BRANCH
You are now in the new branch, do what you want.
cvs rtag -r branch_name new_tag_name
Correcting Accidental Checking
http://kb.wisc.edu/middleware/page.php?id=4087#creating
View CVS status
cvs st -v
Tag a Branch
cvs rtag -r branch_name new_tag_name module_name
Creating a Tag
- In order to name the current end of the main trunk of a module, use the command cvs rtag Tagname my_module
- In order to name the current end of a branch of a module, use the command cvs rtag -r Branchname Tagname my_module
- Otherwise, to name the code that your working directory was checked out from (without the changes you made to your working directory since the last commit), use the command
- cvs tag Tagname
Create branch using rtag
- To create a branch from the main trunk of my_module at the revision that was last committed, use the command cvs rtag -b Branchname my_module
- To create a branch from a tagged revision of my_module, use the command cvs rtag -r Tagname -b Branchname my_module
- Both commands immediately create a branch in the repository without requiring a cvs commit to enact. You do not need to be in a checked-out working directory to do this.
1 comment:
View CVS status
---------------
cvs st -v
Post a Comment