#!/bin/sh

REPOS="$1"
TXN="$2"

# Ensure that the svn:needs-lock property is set on every added file.
/path/to/repos/hooks/ensure-needs-lock.pl "$REPOS" "$TXN"
if [ $? -ne 0 ]; then exit 1; fi

# All checks passed, so allow the commit.
exit 0

