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

Re: post-commit hooks

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Thu, 19 Mar 2009 23:08:40 -0500

On Mar 19, 2009, at 01:41, Edmund Wong wrote:

> Pardon my ignorance, but with regards to the post-commit
> hook, say if I want to have an e-mail sent out with a
> diff or patch of what was committed, I use the commit-email.pl
> script, right?
> The error I'm getting is :-
> /repos/hooks/commit-email.pl: use of either '-h' or '--from' is
> mandatory when sending email using direct SMTP.
> my post-commit script :
> REPOS="$1"
> REV="$2"
> /repos/hooks/commit-email.pl "$REPOS" "$REV" -h mysys --from \
> committer_at_thisdomain.com
> Am I missing something important?

I don't know the specific answer to your question, but I wanted to
point out that commit-email.pl is deprecated and it's recommended to
use mailer.py instead now.


To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-20 05:09:45 CET

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.