[PATCH 1 of 2] extensions: changed to call extsetup() from extensions.loadall()

Yuya Nishihara yuya at tcha.org
Thu Oct 29 07:32:23 CDT 2009


Martin Geisler wrote:
> Yuya Nishihara <yuya at tcha.org> writes:
> > # HG changeset patch
> > # User Yuya Nishihara <yuya at tcha.org>
> > # Date 1256741723 -32400
> > # Node ID 045a62cbff4c5533f3aedf431f33ab1ab1411b90
> > # Parent  2ae3758526d873589ab28bb704a2e106df45c773
> > extensions: changed to call extsetup() from extensions.loadall()

> There is no real reason to use the alternative patch you sent, is there?
> I guess you made it in case this change is too invasive and in case it
> affects things like TortoiseHg? I just tried it with TortoiseHg and
> nothing broke :-)

Yeah, you're right. I was afraid that this patch might break something.
I also prefer this patch than the unclean one I posted later.

TortoiseHg may work well, however, note that it has own dispatcher,
and it calls extsetup(). see hgtk/hgtk.py:runcommand().

Yuya.


More information about the Mercurial-devel mailing list