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

pre-revprop-change hook problems

From: Norbert Unterberg <nunterberg_at_gmail.com>
Date: 2005-09-28 14:38:51 CEST

I need to warm this issue up:

The pre-revprop-hook does not work as advertised, at least not for
Subversion 1.2.3 running on apache on windows:

The template says:

# [1] REPOS-PATH (the path to this repository)
# [2] REVISION (the revision being tweaked)
# [3] USER (the username of the person tweaking the property)
# [4] PROPNAME (the property being set on the revision)
# [5] ACTION (the property is being 'A'dded, 'M'odified, or 'D'eleted)

But when the hook is called, the argument 3 (the user name) is
missing, so propname is %3 and action is %4. This broke our existing
hooks after the upgrade from SVN 1.1 to 1.2.

The other problem is that the error message sent to stdout (echo
Property "%PROPNAME%" cannot be changed >&2) is no longer transmitted
back to the client.

Norbert

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 28 14:40:07 2005

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.