I have setup a svn server on my ubuntu.Now i want to use it from my windows machine using tortoise svn,but i want to put constraint that user should enter comment for add,checkout,update etc.I modified the the pre-commit.tmpl file in hooks folder as(got from internet)
REPOS="/home/svn/"
TXN="checkout"
SVNLOOK=/user/bin/svnlook
SVNLOOKOK=1
$SVNLOOK log -t "$TXN" "$REPOS" | \
grep "[a-zA-Z0-9]" > /dev/null || SVNLOOKOK=0
if [ $SVNLOOKOK = 0 ]; then
echo Empty log messages are not allowed. Please provide a proper log message. 1>&2
exit 1
fi
but this somehow doesnt seem to work?even the default script in that file dint work.I think problem with TXN or REPOS?