[PATCH] patchbomb: add --text flag to send patches both as inline text and as attachments
Greg Ward
greg at gerg.ca
Tue Mar 20 19:39:48 CDT 2012
On 20 March 2012, Angel Ezquerra said:
> # HG changeset patch
> # User Angel Ezquerra <angel.ezquerra at gmail.com>
> # Date 1332234227 -3600
> # Node ID 2893014b498c2e3413b0c93e7dfd2708ee0dbb80
> # Parent 63a1bed65fa32262a45136a583fb6af117215241
> patchbomb: add --text flag to send patches both as inline text and as attachments
I think --body, --in-body, or --as-body are better names for this
option.
> There is currently no way to make patchbombo include patches both as attachments
patchbombo is the Spanish spelling? ;-)
> and as inline text. This would be quite convenient when sending patches to
> people who use web email clients (e.g. gmail) which often mangle the patches,
> making them hard to apply.
>
> The default behavior of the email command is unchanged. However you can now
> use the --text flag _in addition_ to the -i or -a flags, in which case the
> patchbomb emails will contain the patch as inline text and as an attachment.
>
> diff --git a/hgext/patchbomb.py b/hgext/patchbomb.py
> --- a/hgext/patchbomb.py
> +++ b/hgext/patchbomb.py
Tests?
Greg
--
Greg Ward http://www.gerg.ca/
What the hell, go ahead and put all your eggs in one basket.
More information about the Mercurial-devel
mailing list