/breezy-svn/trunk

To get this branch, use:
bzr branch https://code.breezy-vcs.org/breezy-svn/trunk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh

# This is an example prev-revprop-change hook that 
# allows setting bzr revision properties on Subversion 
# revisions.

# This script is only needed if you would like to use 
# revision properties rather than file properties and 
# is not necessary when the server and client are 
# both running Subversion 1.5.

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

if [ "$ACTION" = "M" -a "$PROPNAME" = "bzr:gpg-signature" ]; then exit 0; fi

echo "Changing revision properties other than bzr:gpg-signature is prohibited" >&2
exit 1