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

Re: Fwd: Removing the diff between two revisions from mailer.py emails

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2005-09-06 00:01:41 CEST

> Begin forwarded message:
>
> > From: Michael Goettsche <admin@svn-hosting.com>
> > Date: September 5, 2005 10:24:28 AM CDT
> > To: users@subversion.tigris.org
> > Subject: Re: Removing the diff between two revisions from mailer.py
> > emails
> >
> >
> > On Thursday 01 September 2005 17:36, Michael Goettsche wrote:
> >
> >> Hi there,
> >>
> >> I would like to configure mailer.py to not send the diff between two
> >> revisions but just the list of changed files etc.
> >> I tried adding " generate_diffs = " to the mailer.conf, but the
> >> diff is still attached.
> >> Any hints?

That shouldn't be possible with the existing codepaths, unless my
re-reading missed something. Hrm... and yet my testing shows that
mailer.py is definitely misbehaving. I seem to recall some
disappointing behavior around the ConfigParser class (or our use
thereof) that made this check precarious.

Fortunately, it appears that if you set the option to an invalid value
(such as "none") that you'll get the behavior you desire.

-- 
www.collab.net  <>  CollabNet  |  Distributed Development On Demand
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 6 00:06:25 2005

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