Extension to list up disabled extensions correctly on frozen exe

Yuya Nishihara yuya at tcha.org
Sun May 8 10:34:38 CDT 2011


Hi,

Currently extensions.disabled() does not work on frozen exe, so I made
a little extension to work around this problem:

http://mercurial.selenic.com/wiki/FixfrozenextsExtension

Because TortoiseHg relys on this function, we ships it since 1.1 (released
on July 1, 2011) and enables by default.
We discussed yesterday to include it in TortoiseHg tree, but thought
innapropriate because it's useful on another Windows package.

So, is it possible to include this extension in Mercurial tree?
or integrate some bits into core extensions.py module?

It uses pre-built index of extensions if available; otherwise falls back to
read 'library.zip'. The index is generated by thg-winbuild:

https://bitbucket.org/tortoisehg/thg-winbuild/src/5a54a1cc1a30/setup.py#cl-241

Regards,
Yuya


More information about the Mercurial-devel mailing list