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

Re: post-revprop-change hook failure prevents revprop change

From: Dave Rodgman <dave_rodgman_at_fastmail.co.uk>
Date: 2007-10-19 17:43:26 CEST

Ben Collins-Sussman wrote:
> It sounds like you've got a user error here: try mailing
> users@subversion.tigris.org for support. I suspect that you're trying
> to commit a revision-prop (which always fails by default, since it
> requires the existence of a pre-rev-prop-hook script, which doesn't
> exist by default).
>
Hi,

No, there is a working pre-revprop-change script. Fixing the error in
post-revprop-change
enables revprop commits.

Dave

> On 10/19/07, Dave Rodgman <dave_rodgman@fastmail.co.uk> wrote:
>
>> Hi,
>>
>> An error in a post-revprop-change hook (to be precise, a Perl script
>> which was requiring a file that wasn't there) causes the revprop to fail
>> with the following error:
>>
>> svn: DAV request failed; it's possible that the repository's
>> pre-revprop-change hook either failed or is non-existent
>> svn: At least one property change failed; repository is unchanged
>>
>> Surely this is the role of the pre-revprop-change hook - post-revprop
>> shouldn't be run until the change has been committed? That's what the
>> book implies (fyi there's a small typo in the first sentence after
>> description: "... immediately after to the modification ...")
>>
>> http://svnbook.red-bean.com/nightly/en/svn.ref.reposhooks.post-revprop-change.html
>>
>> client & server are both 1.4.3
>>
>> thanks
>>
>> Dave
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
>> For additional commands, e-mail: dev-help@subversion.tigris.org
>>
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 19 17:43:38 2007

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.