subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aliasgar Ganiji <Alias...@epic.com>
Subject RE: Possible bug in pre-revprop-change and post-revprop-change hooks
Date Fri, 13 May 2011 18:38:45 GMT
This is our setup svn 1.6.6 on Linux x86_64.  What if the hooks are broken in this version?
 Can someone with this version of svn verify?
---
Ali



-----Original Message-----
From: Johan Corveleyn [mailto:jcorvel@gmail.com] 
Sent: Friday, May 13, 2011 12:29 PM
To: Aliasgar Ganiji
Cc: users@subversion.apache.org
Subject: Re: Possible bug in pre-revprop-change and post-revprop-change hooks

On Fri, May 13, 2011 at 4:40 PM, Aliasgar Ganiji <Aliasgar@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

Mime
View raw message