[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 problem

From: Stawiszynski, Piotr <Piotr.Stawiszynski_at_sabre.com>
Date: Fri, 29 Feb 2008 14:01:16 -0000

Hi all!

I would like to show some information to the users when this hook failed. In pre-commit hook I send message to STDERR and user can see why commit failed. I would like to do the same in case of properies change.

Any advise?

What I tried is:

Excerpt from pre-revprop-change

if [ "$ACTION" == "M" -a "$PROPNAME" == "svn:log" ]; then exit 0; fi
exec 1>&2
echo "Changing revision properties other than svn:log by user other than admin is prohibited"
exit 1

But it doesn't work :(

--
Piotr Stawiszyński
Configuration Manager
Sabre Airline Products & Services
Sabre Development Center Krakow Poland
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-29 15:02:15 CET

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.