2

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 TortoiseSVN as the client and svnserve, version 1.4.2 (r22196) as the server (available default with the distribution).

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Kamath
  • 4,461
  • 5
  • 33
  • 60
  • possible duplicate of [How to require commit messages in VisualSVN server?](http://stackoverflow.com/questions/247888/how-to-require-commit-messages-in-visualsvn-server) – gbjbaanb Nov 17 '10 at 09:50

2 Answers2

3

Yes, you'll want to look at pre-commit hooks. This SO question might help you:

How to require commit messages in VisualSVN server?

Community
  • 1
  • 1
Brandon Montgomery
  • 6,924
  • 3
  • 48
  • 71
  • For quick readers like me, add executable permissions to "pre-commit" with out any extensions to it. – Kamath Nov 17 '10 at 15:46
3

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).

Stefan
  • 43,293
  • 10
  • 75
  • 117
  • Stefan rulez :) Your next problem will be : How to avoid users to enter only spaces/not useful commit messages... – Grokwik Nov 17 '10 at 13:38