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

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

From: Jens Peters <jpeters7677_at_gmx.de>
Date: 2007-03-25 12:40:55 CEST

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.

Regards,
Jens

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Mar 25 12:41:30 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.