Send Email on Subversion Commit


I’m wondering… is it possible to send an e-mail via the post-commit hook with DH’s SVN setup? If so, where do I define the hook? More so, where would the hooks be defined? Also, what does the .tmpl file look like to send the e-mail?

I appreciate any feedback that you all have. Thanks!


Yes! Email notification is one of the cornerstones of SVN.

The template you’re looking for is:


Save the hook without the .tmpl and you’re off!

There are options to specify the to:, from:, and subject: of the notifications. If you need details, send me a PM.