svn commit: r400173 - svnadmin/hooks

Peter Wemm peter at FreeBSD.org
Mon Oct 26 04:15:51 UTC 2015


Author: peter (src committer)
Date: Mon Oct 26 04:15:49 2015
New Revision: 400173
URL: https://svnweb.freebsd.org/changeset/ports/400173

Log:
  Post repo surgery test commit; capture a new default template hook.
  
  Approved by:	portmgr (implicit; testing)

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:15:49 2015	(r400173)
@@ -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-ports-svnadmin mailing list