To setup email notifications when an svn commit is done to svn repository on a linux server, first you need to install perl module SVN::Notify
Once installed you’ll have a utility called svnnotify.
Under your repository’s hooks folder create a file post-commit
/usr/local/bin/svnnotify -r $REV -C -d -H HTML::ColorDiff \
-p $REPOS -t email@example.com --from firstname.lastname@example.org \
Make this script executable by web server and update the email addresses in the above script appropriately. To test the script execute this command
./post-commit path/to/your/repos #
where # is an actual revision number. And you’ll receive an email notification with details of that particular commit.
Help taken from http://help.joyent.com/index.php?pg=kb.page&id=53