Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Oct 2015 04:15:49 +0000 (UTC)
From:      Peter Wemm <peter@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-svnadmin@freebsd.org
Subject:   svn commit: r400173 - svnadmin/hooks
Message-ID:  <201510260415.t9Q4Fn6W019463@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510260415.t9Q4Fn6W019463>