subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1769152 - /subversion/trunk/subversion/svnserve/serve.c
Date Thu, 10 Nov 2016 16:42:08 GMT
Author: stsp
Date: Thu Nov 10 16:42:08 2016
New Revision: 1769152

URL: http://svn.apache.org/viewvc?rev=1769152&view=rev
Log:
* subversion/svnserve/serve.c
  (find_repos): Call svn_repos_hooks_setenv() like mod_dav_svn and ra_local do.
   Otherwise the hook env feature remains disabled.

Reported by: Steven Simpson via users@

Modified:
    subversion/trunk/subversion/svnserve/serve.c

Modified: subversion/trunk/subversion/svnserve/serve.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnserve/serve.c?rev=1769152&r1=1769151&r2=1769152&view=diff
==============================================================================
--- subversion/trunk/subversion/svnserve/serve.c (original)
+++ subversion/trunk/subversion/svnserve/serve.c Thu Nov 10 16:42:08 2016
@@ -3867,6 +3867,7 @@ find_repos(const char *url,
   if (hooks_env)
     hooks_env = svn_dirent_internal_style(hooks_env, scratch_pool);
 
+  SVN_ERR(svn_repos_hooks_setenv(repository->repos, hooks_env, scratch_pool));
   repository->hooks_env = apr_pstrdup(result_pool, hooks_env);
 
   return SVN_NO_ERROR;



Mime
View raw message