Working with CVS branches.
--- a/cvs.rst Wed Dec 16 14:38:54 2015 +0200
+++ b/cvs.rst Fri Dec 18 12:30:28 2015 +0200
@@ -94,17 +94,27 @@
$ rm $file # remove it from local sources
$ cvs update $file # get a new copy from the repository
-List of CVS branches.
-=====================
+Working with CVS branches.
+==========================
There are no such command but this command allow extract such info::
$ cd $CVS_PROJ
$ cvs rlog -l -h -b $(cat CVS/Repository)
-Update to HEAD.
-===============
-::
+Switch branch::
+
+ $ cvs up -r $BRANCH
+
+Update to HEAD::
$ cvs up -A
+Replace head::
+
+ $ cvs up -j$HEAD -j $NEWBRANCH
+
+Replace branch::
+
+ $ cvs up -j$OLD -j $NEW
+