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

Re: [PATCH] minor change to mailer.py for subject formatting

From: Janos Gyerik <janos.gyerik_at_gmail.com>
Date: Sun, 27 Jan 2013 06:19:13 +0100

Hey guys,

Thanks a lot for your comments!

Please check the new patch I attached, I hope it's good now.

It will allow this kind of setting in mailer.conf:
commit_subject_prefix = [svn-%(repodir)s]

Thanks,
Janos

On Sun, Jan 27, 2013 at 5:36 AM, C. Michael Pilato <cmpilato_at_collab.net> wrote:
> On 01/26/2013 03:03 PM, Daniel Shahaf wrote:
>> Please attach patches as MIME text/plain (usually naming them *.txt does
>> that). More below.
>>
>>> + if prefix and re.search(r'REPONAME', prefix):
>>
>> Needlessly complicated, ('REPONAME' in prefix) would do.
>>
>> Also I think you should use the %() syntax like mailer.conf.example
>> does. Is that possible?
>
> Agreed, please use the "%()s" style of format string substitution if
> possible (for consistency with other configurable bits of this script).
>
> --
> C. Michael Pilato <cmpilato_at_collab.net>
> CollabNet <> www.collab.net <> Enterprise Cloud Development
>

-- 
Janos Gyerik
http://www.janosgyerik.com/
https://twitter.com/janosgyerik/

Received on 2013-01-27 06:19:49 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.