Dan Villiom Podlaski Christiansen <danchr@gmail.com> [Wed, 05 Aug 2009 17:19:37 +0200] rev 9315
dispatch: also pass level argument to __import__ for ignored modules
I wanted to check if mercurial.demandimport could speed up the loading of
PyObjC, and ran into this: the level argument for __import__, available in
Python 2.5 and later, is silently dropped when doing an 'import *'. I have no
idea what these arguments mean, but this minor change made it work.
(Oh, and because of that 'from ... import *', PyObjC still took about 2s...)
Dirkjan Ochtman <dirkjan@ochtman.nl> [Wed, 05 Aug 2009 14:58:30 +0200] rev 9314
lsprof: make profile not die when imported modules changes (issue1774)
Christian Ebert <blacktrash@gmx.net> [Wed, 05 Aug 2009 17:19:08 +0200] rev 9313
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.