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

Re: Possible bug in pre-revprop-change and post-revprop-change hooks

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Fri, 13 May 2011 19:29:19 +0200

On Fri, May 13, 2011 at 4:40 PM, Aliasgar Ganiji <Aliasgar_at_epic.com> wrote:
> I was in the process of implementing pre-revprop-change and
> post-revprop-change hooks in my company to handle changes to the svnn:log
> property.  As per the SubVersion Redbook;
>
> 1.       pre-revprop-change should be able to access the intended new value
> of the property via standard input.  However, what is receives is the
> previous property value.
>
> 2.       Similarly, post-revprop-change should be able to access the
> previous value of the property via standard input.  However, what is
> receives is the new property value.
>
>
>
> Has anyone else observed this?  Can I get a confirmation that this is indeed
> a bug.

That's not what happens on my setup (svn 1.5.4 on Solaris).

I can confirm that my pre-revprop-change hook receives the new value
on stdin, and post-revprop-change hook receives the old value on
stdin.

-- 
Johan
Received on 2011-05-13 19:30:08 CEST

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

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