[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: Edmund Wong <edmund_at_belfordhk.com>
Date: Fri, 20 Mar 2009 09:37:29 +0800

Edmund Wong wrote:
> Hi,
>
> 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 :-

Self answer:

Basically, the following works:

1) Rename post-commit.tmpl to post-commit
2) chmod 777 post-commit
3) put commit-email.pl into /repos/hooks
4) edit commit-email.pl
      a) set $smtp_server
      b) in sub new_project, set
             email_addresses
             hostname
             reply_to
             subject_prefix

I think that's it.

Edmund

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1359940

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-03-20 17:29:31 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.