sekedar hint, coba enable pre-commit hook.
Berikut referensi cara enable dan contoh code hook nya.
#!/bin/sh
REPOS="$1"
TXN="$2"
# Make sure that the log message contains some text.
SVNLOOK=/usr/bin/svnlook
chars=`$SVNLOOK log -t "$TXN" "$REPOS" | wc -m`
if [ $chars -lt 15 ]; then
echo "
=======================================================================
Oops!
There was an error while trying to submit your code.
A minimum of *15* chars is required for logging purposes.
Please write some consize logging of what you have changed
in the code, so that may guide others later on.
Counting on everyone's help and cooperation!
Remember:
\"If it's not worth commenting, then it's not worth committing.\"
=======================================================================
" >&2
exit 1
fi
# Exit on all errors.
set -e
# Check that the author of this commit has the rights to perform
# the commit on the files and directories being modified.
# "$REPOS"/hooks/commit-access-control.cfg
# All checks passed, so allow the commit.
exit 0