[PATCH 1 of 2] color: wrap qdiff/qseries after all extensions are loaded

Martin Geisler mg at lazybytes.net
Thu May 7 18:19:29 CDT 2009


Dirkjan Ochtman <dirkjan at ochtman.nl> writes:

> On Thu, May 7, 2009 at 6:09 PM, Martin Geisler <mg at lazybytes.net> wrote:
>> At that point color.extsetup will modify mq.cmdtable, but this does not
>> take effect because mq.cmdtable was already merged with commands.table.
>
> So color can just manipulate the mq commands in commands.table?

I tried that and I thought it worked... But no, if the color extension
is loaded first, then try to wrap qdiff in commands.table before
mq.cmdtable has been merged with commands.table! Argh...

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090508/86f4618e/attachment.pgp 


More information about the Mercurial-devel mailing list