Some Handy CVS Tips
Here is a collection of tips for CVS usage, which we have found useful.
- Always issue the command
cvs -nq update before issuing any commands that affect
the repository, such as commits, creating tags, or removing files. This way, you can see immediately
if any of your working files are out of date, and need to be updated. Checking for out-of-date files
can save a lot of time and headaches.
- Create a section in your repository for experimentation. We always create a directory named
cvs-test. Anything in that directory is expendable, and can be freely experimented upon,
and deleted if something goes wrong. When in doubt, try out your commands in the cvs-test
directory to confirm whether or not they'll do what you expect, or even just to see what happens.