[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: Christopher Ness <chris_at_nesser.org>
Date: 2004-12-28 01:09:31 CET

On Mon, 2004-27-12 at 15:51 -0800, David Koontz wrote:
> I get no emails or errors in my log files. I saw the suggestion of
> captureing stdout and stderr in the post-commit file with the line
>
> mailer.py commit "$REPOS" "$REV" mailer.conf &>
> /data/dev/svn/palabra/hooks/log.txt

Try this (you need full paths, as the environment forked on a commit
doesn't know anything about path locations):

# Put header stuff here in post-commit

HOOKSDIR=/data/dev/svn/palabra/hooks
${HOOKSDIR}/mailer.py commit "$REPOS" "$REV" ${HOOKSDIR}/mailer.conf

Cheers,
Chris

-- 
Software Engineering IV,
McMaster University
PGP Public Key: http://www.nesser.org/pgp-key/
19:05:16 up 6 days, 7:10, 3 users, load average: 0.22, 0.08, 0.02 
http://www.fsf.org/philosophy/no-word-attachments.html

Received on Tue Dec 28 01:11:41 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.