I did a little googling and found that there isn't really a resource of SVN hooks for Windows. So I figured I'd start a wiki here to centralize it.
If you contribute, please be sure to indicate:
- The name of the hook
- What the script does
- The actual script
NOTE: I suspect posting an epic script will not be useful.
* UPDATE: This no longer works, as Twitter has deprecated username/password authentication in favor of OAuth. *
Publishes commit info to Twitter
Usage notes:
The actual script
Prevent commits with empty comments
Source:
Prevent edits to revision props other than svn::log
Source:
Checks for common "lazy" commit messages
The actual script
Sample Excluded words file: Updated updated updated. Updated. Fix fix Fix. fix. .. . ... . . . . sorted sorted. Sorted Sorted.
etc etc etc etc
I like to use subHooker, which is coded in java. It provides pre and post commit hook functionality.
Pre commit:
Post Commit:
You can find it on google code @ http://code.google.com/p/subhooker/
It's free, and yes, I am the author, I've been running subversion for a few years now, I love it a lot which is why I am contributing this back to the community.
Prevents edits to revision props other than svn::log