aboutsummaryrefslogtreecommitdiffstats
path: root/modules/subversion/templates/pre-revprop-change
blob: e9b1815075ca49dc8d617e0580677a6cabc80acc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh

# script taken from svn example hooks

REPOS="$1"
REV="$2"
USER="$3"
PROPNAME="$4"
ACTION="$5"

if [ "$ACTION" = "M" -a "$PROPNAME" = "svn:log" ]; then exit 0; fi

echo "Changing revision properties other than svn:log is prohibited" >&2
exit 1