subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johan Corveleyn <>
Subject Re: inheriting enviroment variables by hooks
Date Thu, 23 Nov 2017 14:45:27 GMT
On Wed, Nov 22, 2017 at 1:36 PM,  <> wrote:
> Hi,
> We're trying to build a generic integration system for RhodeCode that would
> also support Subversion. The problem we're now having is how to transmit
> some data during e.g commit operation from our system into running hooks.
> Our idea now is to use apache and set some special HTTP headers, and
> Enviroment variables when using the HTTP protocol.
> However after reading some threads, it seems that when subversion executes
> hooks it clears the enviroment variables. Is there ANY way to inherit some
> env set by apache?

I don't know if this is what you're looking for, but as of 1.8 there
is the mod_dav_svn directive SVNHooksEnv.

The svn book [1] contains the following description:
"Specifies the location of the Subversion repository hook script
environment configuration file. This file is used to describe the
initial environment in which repository hook scripts are executed. For
more on this feature, see the section called 'Hook script environment
configuration'." [2]



View raw message