REPOS="$1" TXN="$2" export PATH=/bin:/usr/bin # Make sure that the log message contains some text. SVNLOOK=//opt/CollabNet_Subversion/bin/svnlook $SVNLOOK log -t "$TXN" "$REPOS" | \ grep "[a-zA-Z0-9]" > /dev/null || exit 1 # All checks passed, so allow the commit. exit 0