[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: Aliasgar Ganiji <Aliasgar_at_epic.com>
Date: Fri, 13 May 2011 13:38:45 -0500

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_at_gmail.com] 
Sent: Friday, May 13, 2011 12:29 PM
To: Aliasgar Ganiji
Cc: users_at_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_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 20:39:16 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.