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

Re: stderr message from pre-revprop-change wont show up via dav

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2007-03-25 14:36:55 CEST

On 3/25/07, Jens Peters <jpeters7677@gmx.de> wrote:
> Hello,
>
> I have a very simple pre-revprop-change hook in my repository:
> --------------------------------------------------------------------------------
> set REPOS=%1
> set REV=%2
> set USER=%3
> set PROPNAME=%4
> set ACTION=%5
>
> if "%PROPNAME%" == "svn:log" exit 0
> REM if %PROPNAME% == "svn:author" exit 0
>
> echo Error: property '%PROPNAME%' cannot be changed 1>&2
> exit 1
> --------------------------------------------------------------------------------
>
> When I access the repository via file:/// I can see the error message just fine:
>
> Z:\>svn propset -r 35 --revprop svn:author "me" file:///e:/SVN/Repos/misc/
> svn: 'pre-revprop-change' hook failed with error output:
> Error: property 'svn:author' cannot be changed
>
> but if I do the same via dav I just see a general message:
>
> Z:\>svn propset -r 35 --revprop svn:author "me" https://wkst02.ds10.local/svn/mi
> sc/
> 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
>
>
> Is this behavior supposed to work this way? The stderr from a pre-commit hook shows up just fine on
> both protocols. Both client and server are 1.4.3, build with VS2005SP1.

It's a known issue: http://subversion.tigris.org/issues/show_bug.cgi?id=443

> Regards,
> Jens

Thanks for reporting!

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 25 14:37:16 2007

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