Add Option for Mandatory Comments on Commit
Add the Option for Mandatory Comments on Commit.
Forcing a comment to be made before commit is allowed.
Default setting for All New projects and Individual settings for existing projects.

3 comments
-
pokerdiy commented
I added login message size to my SVN as a property thinking this would help but Ankh seems to override it? I'm new to SVN and ankh - but this would be a great enhancement.
-
John Gietzen commented
We use a pre-commit-hook on the repo itself. This prevents them circumventing it with tortoise.
@echo off
SET SVNLOOK=svnlook.exe
SET GREP=grep.exeREM Prevent changes to tags.
("%svnlook%" changed -t %2 %1 | "%grep%" "^U.*/tags/") && (echo Cannot commit an update to a tag.>&2 && exit 1)REM Prevent commits without comments.
("%svnlook%" log -t %2 %1 | "%grep%" "[a-zA-Z0-9]") || (echo You must specify a comment for all actions.>&2 && exit 1)exit 0
-
Jay Michael Asbury commented
Make sure the message is trimmed so that it can't be fooled by developer hitting space.