- publishing free software manuals
Version Management with CVS - the CVS manual
by Per Cederqvist et al.
Paperback (6"x9"), 216 pages, 8 figures
ISBN 0954161718
RRP £19.95 ($29.95)

Get a printed copy>>>

B.4.4.1 Loginfo example

The following ‘loginfo’ file, together with the tiny shell-script below, appends all log messages to the file ‘$CVSROOT/CVSROOT/commitlog’, and any commits to the administrative files (inside the ‘CVSROOT’ directory) are also logged in ‘/usr/adm/cvsroot-log’. Commits to the ‘prog1’ directory are mailed to ceder.

ALL             cvs-log $CVSROOT/CVSROOT/commitlog $USER
^CVSROOT        cvs-log /usr/adm/cvsroot-log
^prog1          Mail -s %s ceder

If necessary, specify the absolute paths to the programs Mail and cvs-log. The shell-script ‘cvs-log’ looks like this:

(echo "--------------------------------------------";
 echo -n $2"  ";
 cat) >> $1
ISBN 0954161718Version Management with CVS - the CVS manualSee the print edition