Monday, October 31, 2011

Setup SVN email notification

http://help.joyent.com/index.php?pg=kb.page&id=53

step1:
copy the post-commit.tmpl to file post-commit

step2:
edit post-commit file

comment out
# "$REPOS"/hooks/mailer.py commit "$REPOS" $REV "$REPOS"/mailer.conf

add
/usr/local/bin/svnnotify -r $REV -C -d -H HTML::ColorDiff -p $REPOS -t emailList --from emailList --reply-to emailList

step3:
chomod a+x post-commit

No comments: