You want to create a branch from the current code base (to try out a new feature). Three step process:
Tag the existing code base prior to the branch so that you can go back to it if you need to:
$ cvs tag Release-2-1 cvs tag: Tagging . T Makefile T README T hello.py $
Use the cvs tag -b command to create a new branch:
$ cvs tag -b Release-2-1-branch cvs tag: Tagging . T Makefile T README T hello.py $
Update your working copy to used the new branch:
$ cvs update -r Release-2-1-branch cvs update: Updating . $ cvs status hello.py =================================================================== File: hello.py Status: Up-to-date Working revision: 1.7 Tue Jun 12 13:36:09 2001 Repository revision: 1.7 /home/cvsroot/hello/hello.py,v Sticky Tag: Release-2-1-branch (branch: 1.7.2) Sticky Date: (none) Sticky Options: (none) $