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

RE: Subversion commit e-mail notification

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-05-11 20:41:23 CEST

(keeping this on users@)

On Tue, 2004-05-11 at 13:36, Butler, Frances H (FHB) wrote:

> I'm guessing I should modify the address "commit-watchers@example.org" to my
> own, but what else do I need to do?

You can do whatever you wish. In your original email, you said that you
already had cvs sending out email via its 'loginfo' hook. So I assumed
that you already understood how to send email from a script.

The post-commit template is only an example; there's nobody forcing you
to use the 'commit-email.pl' script. (In fact, most of us use
'mailer.py' now to send mail.)

The main point is that the script gets the name of the repository and
the newly created revision number passed in as arguments. From there,
you can run something as simple as 'svnlook diff -r N repos', and then
spool the result into the Unix 'mail' program. :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 11 20:45:49 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.