summaryrefslogtreecommitdiff
path: root/trunk/CVSROOT/notify
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/CVSROOT/notify')
-rw-r--r--trunk/CVSROOT/notify17
1 files changed, 17 insertions, 0 deletions
diff --git a/trunk/CVSROOT/notify b/trunk/CVSROOT/notify
new file mode 100644
index 0000000..196c3ea
--- /dev/null
+++ b/trunk/CVSROOT/notify
@@ -0,0 +1,17 @@
+# The "notify" file controls where notifications from watches set by
+# "cvs watch add" or "cvs edit" are sent. The first entry on a line is
+# a regular expression which is tested against the directory that the
+# change is being made to, relative to the $CVSROOT. If it matches,
+# then the remainder of the line is a filter program that should contain
+# one occurrence of %s for the user to notify, and information on its
+# standard input.
+#
+# "ALL" or "DEFAULT" can be used in place of the regular expression.
+#
+# format strings are replaceed as follows:
+# %p = path relative to repository
+# %r = repository (path portion of $CVSROOT)
+# %s = user to notify
+#
+# For example:
+#ALL (echo Committed to %r/%p; cat) |mail %s -s "CVS notification"