summaryrefslogtreecommitdiff
path: root/tools/hook-scripts/mailer/mailer.conf.example
diff options
context:
space:
mode:
Diffstat (limited to 'tools/hook-scripts/mailer/mailer.conf.example')
-rw-r--r--tools/hook-scripts/mailer/mailer.conf.example11
1 files changed, 10 insertions, 1 deletions
diff --git a/tools/hook-scripts/mailer/mailer.conf.example b/tools/hook-scripts/mailer/mailer.conf.example
index be04877..3ad28de 100644
--- a/tools/hook-scripts/mailer/mailer.conf.example
+++ b/tools/hook-scripts/mailer/mailer.conf.example
@@ -1,7 +1,7 @@
#
# mailer.conf: example configuration file for mailer.py
#
-# $Id: mailer.conf.example 885511 2009-11-30 17:30:17Z julianfoad $
+# $Id: mailer.conf.example 1439592 2013-01-28 19:20:53Z danielsh $
[general]
@@ -146,6 +146,15 @@
#
# from_addr = %(author)s@example.com
#
+# The substitution variable "repos_basename" is provided, and is set to
+# the directory name of the repository. This can be useful to set
+# a custom subject that can be re-used in multiple repositories:
+#
+# commit_subject_prefix = [svn-%(repos_basename)s]
+#
+# For example if the repository is at /path/to/repo/project-x then
+# the subject of commit emails will be prefixed with [svn-project-x]
+#
#
# SUMMARY
#