Some time ago I’ve written a post-commit hook for Subversion in PHP, to make it easier to track code changes via email.
I based it on another hook, written in Ruby. Because it had no license attached to it, and because I had to rewrite it myself, I decided to license it under the new BSD license.
You can find the hook here: commit-email-color.php. It has the new BSD license attached to it.
2009-06-17: fixed a bug: now displays the full commit message instead of just the first line. 2008-06-13: added an option to disable color-code the diffs.