[PATCH 1 of 1] extensions: load all extensions first, call setup functions thereafter

Steve Borho steve at borho.org
Fri Aug 14 10:35:38 CDT 2009


On Fri, Aug 14, 2009 at 4:08 AM, TK Soh<teekaysoh at gmail.com> wrote:
> On Fri, Aug 14, 2009 at 2:42 AM, Steve Borho<steve at borho.org> wrote:
>> On Thu, Aug 13, 2009 at 6:53 PM, Martin Geisler<mg at lazybytes.net> wrote:
>>> Simon Heimberg <simohe at besonet.ch> writes:
>>>
>>>> # HG changeset patch
>>>> # User Simon Heimberg <simohe at besonet.ch>
>>>> # Date 1250075746 -7200
>>>> # Node ID 3bc8dde7c38d6985d8f111165107402002983fe4
>>>> # Parent  527eddab742d5db6df5f5ac8d3c46de98004f9b3
>>>> extensions: load all extensions first, call setup functions thereafter
>>>
>>> I have not figured out why, but this breaks the log viewer in
>>> TortoiseHg. I got an error like this:
>>>
>>>  http://paste.lisp.org/display/85345
>>
>> color.py depends on uisetup() being called before extsetup().
>> The code that loads extensions in hgtk.py is fairly dated itself.
>> We'll have to update it at the same time.
>
> Log viewer using color extension?

No, hgtk loads all enabled extensions.  Martin just happened to have
color enabled.

--
Steve Borho



More information about the Mercurial-devel mailing list