Re: pre-revprop-change hook problem
From: Ryan Schmidt <subversion-2008a_at_ryandesign.com>
Date: Fri, 29 Feb 2008 12:59:46 -0600
On Feb 29, 2008, at 08:01, Stawiszynski, Piotr wrote:
> I would like to show some information to the users when this hook
The file pre-revprop-change.tmpl created in the hooks directory of an
-----------------------------
#!/bin/sh
REPOS="$1"
if [ "$ACTION" = "M" -a "$PROPNAME" = "svn:log" ]; then exit 0; fi
echo "Changing revision properties other than svn:log is prohibited" >&2
-----------------------------
This script worked for me. It allowed me to modify svn:log but didn't
You didn't provide your full script, but I tried this:
-----------------------------
#!/bin/sh
REPOS="$1"
if [ "$ACTION" == "M" -a "$PROPNAME" == "svn:log" ]; then exit 0; fi
-----------------------------
This also worked for me. In what way didn't it work for you? Does it
Also what version of Subversion do you have and what OS are you
---------------------------------------------------------------------
|
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.