The Science of Debugging
Chapter 3


3.2.8 Additional CVS Information


The rest of the commands are pretty self-explanatory, but something you may want to do is investigate the CVS commands more - like selecting specific versions of a file, or splitting off into multiple version branches. The version and date selection arguments for all commands are especially useful.

For use in a CircleMUD with several programmers, I tend to setup the following template;

Here's how it works:

The src directory is checked out from cvs, and the lib directory is symlinked to the testlib. Testlib, in turn, can be refreshed at any point in time by copying the contents of the original lib over it.

This way, there is an official area which shouldn't normally be directly changed, and test areas which allow your programmers to work together in a space efficient manner. If your programmers need to change the files in the world/lib directories, they can always create a unique copy, but this seems to rarely be the case.



Index
3.2.7 CVS in Action 4. Using Grep or Find