notify 752 B

1234567891011121314151617
  1. # The "notify" file controls where notifications from watches set by
  2. # "cvs watch add" or "cvs edit" are sent. The first entry on a line is
  3. # a regular expression which is tested against the directory that the
  4. # change is being made to, relative to the $CVSROOT. If it matches,
  5. # then the remainder of the line is a filter program that should contain
  6. # one occurrence of %s for the user to notify, and information on its
  7. # standard input.
  8. #
  9. # "ALL" or "DEFAULT" can be used in place of the regular expression.
  10. #
  11. # format strings are replaceed as follows:
  12. # %p = path relative to repository
  13. # %r = repository (path portion of $CVSROOT)
  14. # %s = user to notify
  15. #
  16. # For example:
  17. #ALL (echo Committed to %r/%p; cat) |mail %s -s "CVS notification"