Extension to list up disabled extensions correctly on frozen exe
steve at borho.org
Sun May 8 18:45:11 CDT 2011
On Sun, May 8, 2011 at 11:09 AM, Matt Mackall <mpm at selenic.com> wrote:
> On Mon, 2011-05-09 at 00:34 +0900, Yuya Nishihara wrote:
>> Currently extensions.disabled() does not work on frozen exe, so I made
>> a little extension to work around this problem:
>> 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:
> Yes, we should probably figure out how to start merging some of this.
Perhaps Mercurial's setup.py could generate the extension list file
when it detects a py2exe target. Then both the MSI and InnoSetup
installers would benefit from fixfrozenexts.
More information about the Mercurial-devel