2.4. Setup environment variables

The CVSROOT environment variable can be setup for your user (in ~/.bashrc or ~/.profile, or for all users in /etc/profile.


export CVSROOT=${HOME}/rep

2.4.1. .cvsrc

We recommend these default options for CVS.


cvs -q
diff -u
update -Pd
checkout -P

This directs CVS to (1) automatically compress all data communicated between you and our server (saving bandwidth), and be quieter; (2) show context-sensitive diffs; (3) prune empty directories and create any new directories added to the repository since your checkout; and (4) prune empty directories during your checkouts.

Note: You will need to logout/login for the profile changes to take effect.