subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1604047 - /subversion/trunk/subversion/libsvn_repos/repos.c
Date Thu, 19 Jun 2014 23:16:25 GMT
Author: danielsh
Date: Thu Jun 19 23:16:24 2014
New Revision: 1604047

URL: http://svn.apache.org/r1604047
Log:
* subversion/libsvn_repos/repos.c
  (HOOKS_ENVIRONMENT_TEXT): Add details to the documentation embedded in hooks.

Inspired by: schabi

Modified:
    subversion/trunk/subversion/libsvn_repos/repos.c

Modified: subversion/trunk/subversion/libsvn_repos/repos.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/repos.c?rev=1604047&r1=1604046&r2=1604047&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/repos.c (original)
+++ subversion/trunk/subversion/libsvn_repos/repos.c Thu Jun 19 23:16:24 2014
@@ -267,9 +267,9 @@ create_locks(svn_repos_t *repos, apr_poo
 
 
 #define HOOKS_ENVIRONMENT_TEXT                                                \
-  "# The hook program typically does not inherit the environment of"       NL \
-  "# its parent process.  For example, a common problem is for the"        NL \
-  "# PATH environment variable to not be set to its usual value, so"       NL \
+  "# The hook program runs in an empty environment, unless the server is"  NL \
+  "# explicitly configured otherwise.  For example, a common problem is for" NL \
+  "# the PATH environment variable to not be set to its usual value, so"   NL \
   "# that subprograms fail to launch unless invoked via absolute path."    NL \
   "# If you're having unexpected problems with a hook program, the"        NL \
   "# culprit may be unusual (or missing) environment variables."           NL



Mime
View raw message