[PATCH] Added -A option to patchbomb to allow sending base64-encoded

Thomas Arendsen Hein thomas at intevation.de
Wed Mar 19 17:59:16 CDT 2008


* Pjotr Kourzanov <peter.kourzanov at xs4all.nl> [20080319 23:42]:
>      "email":
>          (patchbomb,
>           [('a', 'attach', None, _('send patches as attachments')),
> +          ('A', 'Attach', None, _('send patches as base64 attachments')),

--attach vs. --Attach isn't good.

Maybe rather an option to select base64 _if_ -a is used (or a config
option)

And watch out for tabs in your code and better use opts.get() for
new options so python code calling this directly doesn't have to be
changed.

Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Mercurial mailing list