[PATCH] notify: do not mime encode multipart templates

Christian Ebert blacktrash at gmx.net
Wed Aug 5 04:06:24 CDT 2009


* Christian Ebert on Thursday, July 30, 2009 at 14:46:12 +0200
> This might be a corner case, but apparently it exists. I think
> it's enough to check for parsing errors, and leave the risk of
> setting up a mulitpart template to the user.
> 
> I can add a test for this (I tested it locally and it works), but
> it seems overkill?
> 
> 
> # HG changeset patch
> # User Christian Ebert <blacktrash at gmx.net>
> # Date 1248937253 -7200
> # Node ID 48fd84e694a7b91d77096d0ffdf600de490ea32b
> # Parent  25255ce87bcfb753df078b2f8cabc6bcb5cb96ce
> notify: do not mime encode multipart templates
> 
> Mulitpart templates should take care of this themselves.
> See http://www.selenic.com/pipermail/mercurial/2009-July/027017.html
> 
> Also catch potential parsing errors gracefully.
 
This rather innocent patch is also available as part of my patch
queue at:

http://blacktrash.org/hg/hg-queue/

or on top of crew:

http://blacktrash.org/hg/hg-crew-mq/rev/notify-multi.diff
-- 
  Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
_F R E E_  _V I D E O S_  http://www.blacktrash.org/underdogma/
                          http://www.blacktrash.org/underdogma/index-en.html


More information about the Mercurial-devel mailing list