[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:03:32 +0400

On Wed, Apr 3, 2013 at 1:48 PM, Ivan Zhakov <ivan_at_visualsvn.com> wrote:
> On Wed, Apr 3, 2013 at 4:38 AM, Ben Reser <ben_at_reser.org> wrote:
>> I've gone ahead and moved the default hooks-env to hooks-env.tmpl.
>> We'll still try to open the file but we won't bother to read it in or
>> parse a completely commented out file unless the user puts a file in
>> place. The .tmpl is a common pattern with hooks already so it should
>> add any confusion.
>>
> I'm going to implement reading hooks environment file just before hook
> execution instead of repository open.
>
Done in r1463902.

I'm still not happy with svn_repos_hooks_setenv() API, but this is
separate issue.

-- 
Ivan Zhakov
Received on 2013-04-03 12:04:34 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.