On Wed, Apr 3, 2013 at 2:56 PM, Stefan Sperling <s...@elego.de> wrote: > On Wed, Apr 03, 2013 at 02:03:32PM +0400, Ivan Zhakov wrote: >> I'm still not happy with svn_repos_hooks_setenv() API, but this is >> separate issue. > > Why aren't you happy with it? > > It's a new API that has to be called in order to activate the hooks-env > feature. Server-side tools written against 1.7 and earlier repos APIs > should not see a behaviour change when using 1.8 libs at runtime. I think result_pool parameter should be replaced with pool member in svn_repos_t structure.
Also it's not possible to deactivate hooks-env feature using svn_repos_hooks_setenv() because NULL path considered as 'use default path'. -- Ivan Zhakov