Has anyone implemented a hook that requires developers to input x chars before successful submission? I've looked up hooks but don't really understand how to implement this one for Subversion using Tortoise specifically for a Windows Environment.
+1
A:
Try this which was taken from here
Note that using client side commit requirements can work as well if you have developers you trust.
EDIT:
Then try this? http://svn.haxx.se/users/archive-2006-05/0594.shtml http://blog.tfanshteyn.com/2007/11/subversion-pre-commit-hooks.html
Tim
2009-07-30 19:50:15
hehe, trust developers to add a rule to enforce them to submit with comments! yea I wish the world was that simple and people were that dedicated and professional. :)
CoffeeAddict
2009-07-31 20:49:59
that is a perl script. I'm using Tortoise SVN on a windows Vista environment locally and Windows Server 2007 on our dev server.
CoffeeAddict
2009-07-31 20:55:31
I started reverting people's changes when they had no comments. That went a long way to letting them know I was serious. Sometimes comments are not necessary, sometimes a word or two is sufficient, but most times more is needed.
Tim
2009-07-31 21:53:41
it's nice when you have that power, but most don't.
CoffeeAddict
2009-08-03 13:09:27
SO you have the authority to put on a server side script, but not revert?
Tim
2009-08-03 13:43:43