[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Opening the repository hooks environment file

From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Wed, 3 Apr 2013 14:58:56 +0400

On Wed, Apr 3, 2013 at 2:56 PM, Stefan Sperling <stsp_at_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
Received on 2013-04-03 12:59:48 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.