[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: post-commit email hook problem with mailer.py

From: John Szakmeister <john_at_szakmeister.net>
Date: 2004-12-28 01:11:38 CET

On Monday 27 December 2004 18:51, David Koontz wrote:
> I have a working subversion repository that I've been using for quite
> some time now and I wanted to add email notification to the post-commit
> action. I copied the post-commit.tmpl file and copied the mailer.py
> and mailer.conf files from the source distribution to my hooks
> directory. My post-commit looks like this:
> #!/bin/sh
> REPOS="$1"
> REV="$2"
> mailer.py commit "$REPOS" "$REV" mailer.conf

Hook scripts are run in an empty environment. You need to either set
PATH, or specify the full path to mailer.py. You also need the
Subversion Python bindings installed to use mailer.py.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 28 01:14:00 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.