You want to create a branch from a previous revision of the code base (to fix an issue in a previous version). Three step process:
Revert your working copy to the previous version (Hopefully you tagged it at that time!):
$ cvs update -r Release-1-0 cvs update: Updating . U README U hello.py $ cvs status hello.py =================================================================== File: hello.py Status: Up-to-date Working revision: 1.4 Tue Jun 12 14:12:42 2001 Repository revision: 1.4 /home/cvsroot/hello/hello.py,v Sticky Tag: Release-1-0 (revision: 1.4) Sticky Date: (none) Sticky Options: (none) $
Use the cvs tag -b command to create a new branch:
$ cvs tag -b Release-1-0-branch cvs tag: Tagging . T Makefile T README T hello.py $
Update your working copy to used the new branch:
$ cvs update -r Release-1-0-branch cvs update: Updating . $ cvs status hello.py =================================================================== File: hello.py Status: Up-to-date Working revision: 1.4 Tue Jun 12 14:12:42 2001 Repository revision: 1.4 /home/cvsroot/hello/hello.py,v Sticky Tag: Release-1-0-branch (branch: 1.4.2) Sticky Date: (none) Sticky Options: (none) $