On Tue, Jun 19, 2018 at 06:39:09PM -0500, Tom Browder wrote:
> The docs mention one can use a common hook environment for multiple repos
> but so far I can’t find an example of that or any more details. I have
> looked at the example hook.env file but I don’t see any reference to global
> env vars.

It is unclear which type of server are you using.
Apache HTTPD with mod_dav_svn, or svnserve?

For svnserve, you can specify a path in svnserve's config file:
  [general]
  hooks-env = /path/to/a/global/hooks-env/file

The environment specified in the referenced file will then apply
to all repositories. The referenced file's syntax is shown in the
hook.env example you've alreay found.

For mod_dav_svn there is a similar configuration directive called
SVNHooksEnv which also points to a file.

Could you please point us at the docs you were reading which were
unclear? Maybe they need to be adjusted or updated.  Thanks.

Reply via email to