SVN repository configuration
Is there any way to configure an SVN server such that it does not accept commits if a descriptive message related to changes are not entered or filled in?
PS: I use T开发者_如何学编程ortoiseSVN as the client and svnserve, version 1.4.2 (r22196) as the server (available default with the distribution).
Yes, you'll want to look at pre-commit hooks. This SO question might help you:
How to require commit messages in VisualSVN server?
Either use a pre-commit hook script (works with all svn clients since the check is done on the server), or set the tsvn:logminsize property (works only with TortoiseSVN).
精彩评论