svn commit: r289991 - svnadmin/hooks
Peter Wemm
peter at FreeBSD.org
Mon Oct 26 04:11:35 UTC 2015
Author: peter
Date: Mon Oct 26 04:11:33 2015
New Revision: 289991
URL: https://svnweb.freebsd.org/changeset/base/289991
Log:
Test commit; capture a new template file.
Added:
svnadmin/hooks/hooks-env.tmpl (contents, props changed)
Added: svnadmin/hooks/hooks-env.tmpl
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ svnadmin/hooks/hooks-env.tmpl Mon Oct 26 04:11:33 2015 (r289991)
@@ -0,0 +1,20 @@
+# $FreeBSD$
+### This file is an example hook script environment configuration file.
+### Hook scripts run in an empty environment by default.
+### As shown below each section defines environment variables for a
+### particular hook script. The [default] section defines environment
+### variables for all hook scripts, unless overridden by a hook-specific
+### section.
+
+### This example configures a UTF-8 locale for all hook scripts, so that
+### special characters, such as umlauts, may be printed to stderr.
+### If UTF-8 is used with a mod_dav_svn server, the SVNUseUTF8 option must
+### also be set to 'yes' in httpd.conf.
+### With svnserve, the LANG environment variable of the svnserve process
+### must be set to the same value as given here.
+[default]
+LANG = en_US.UTF-8
+
+### This sets the PATH environment variable for the pre-commit hook.
+[pre-commit]
+PATH = /usr/local/bin:/usr/bin:/usr/sbin
More information about the svn-src-svnadmin
mailing list