DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(cvs.info.gz) loginfo example

Info Catalog (cvs.info.gz) loginfo (cvs.info.gz) Keeping a checked out copy
 
 C.3.6.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                     /usr/local/bin/cvs-log $CVSROOT/CVSROOT/commitlog $USER
      ^CVSROOT\(/\|$\)        /usr/local/bin/cvs-log /usr/adm/cvsroot-log $USER
      ^prog1\(/\|$\)          Mail -s "%p %s" ceder
 
    The shell-script `/usr/local/bin/cvs-log' looks like this:
 
      #!/bin/sh
      (echo "------------------------------------------------------";
       echo -n "$2  ";
       date;
       echo;
       cat) >> $1
 
Info Catalog (cvs.info.gz) loginfo (cvs.info.gz) Keeping a checked out copy
automatically generated byinfo2html