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# %c = canonical name of the command being executed 13# %R = the name of the referrer, if any, otherwise the value NONE 14# %p = path relative to repository 15# %r = repository (path portion of $CVSROOT) 16# %s = user to notify 17# 18# For example: 19#ALL (echo Committed to %r/%p; cat) |mail %s -s "CVS notification" 20