tags:

views:

528

answers:

1

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
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
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
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
it's nice when you have that power, but most don't.
CoffeeAddict
SO you have the authority to put on a server side script, but not revert?
Tim