Sunday, 4 October 2009

SVN Notify by Email

Svn hook to email you information in post commit hook.

Install svnnotify which will be used to send the email

yum install perl-CPAN
perl -MCPAN -e 'install SVN::Notify'
perl -MCPAN -e 'install SVN::Notify::HTML::ColorDiff'

The post-commit script

for i in '' ''
svnnotify --repos-path "$1" \
--revision "$2" \
--to $i \
--from \
--handler HTML::ColorDiff -d \

1 comment:

  1. Hi , Please help me , How can i configure my svn server auto send mail with SVN-Notify modules?
    I have did as you show, but it can't send mail.