GENIE:Quick CVS ref

Using CVS: Quick reference

 * You will need a CVS account to access the source code. If you do not have one please contact [mailto:gethin.williams.bristol.ac.uk Gethin Williams].


 * The source code is held in a remote repository. You will need to access it using SSH. Instructions for accessing the repository.

From the Command Line

 * First, you will have to login to CVS. You will be prompted for your password. From your genie directory type: cvs login

Below is a list of every day CVS commands. More examples are given in genie-main/README and the user manual (genie-main/doc/user-manual.pdf).

The CVS FAQ and manual have all you need to know about using CVS.


 * To checkout a copy of the source code (in dir ~/genie): cvs co core
 * To run the tests: make test
 * To update your copy of the code (in dir ~/genie) : cvs update
 * To check if a copy of a file is upto date: cvs status
 * To add a file locally, prior to commiting it to the repository: cvs add
 * To commit a file: cvs commit -m "my log message"
 * To checkout a copy of the source code at a given time: cvs co -D "2004-06-29 14:00:00 GMT" core
 * To update your checkout to the state of the repository at a given time: cvs update -d -D "2004-06-29 14:00:00 GMT"

The TkCVS GUI
CVS also has a GUI called TkCVS. You can download this from the TkCVS web site. Below is a screenshot showing the main TkCVS window along with its very useful differencing tool. This tool highlights the differences between two versions of a file.