3 # This is an example prev-revprop-change hook that
4 # allows setting bzr revision properties on Subversion
7 # This script is only needed if you would like to use
8 # revision properties rather than file properties and
9 # is not necessary when the server and client are
10 # both running Subversion 1.5.
18 if [ "$ACTION" = "M" -a "$PROPNAME" = "svn:log" ]; then exit 0; fi
20 if [ "$ACTION" = "M" -a "$PROPNAME" = "bzr:gpg-signature" ]; then exit 0; fi
22 # Allow adding bzr-svn revision properties:
23 if [ "$ACTION" = "A" -a "`echo "$PROPNAME" | cut -d : -f 1`" = "bzr" ]; then exit 0; fi
25 echo "Changing revision properties other than svn:log or bzr:* is prohibited" >&2