Extension to list up disabled extensions correctly on frozen exe

Matt Mackall mpm at selenic.com
Sun May 8 11:09:57 CDT 2011


On Mon, 2011-05-09 at 00:34 +0900, Yuya Nishihara wrote:
> 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

Yes, we should probably figure out how to start merging some of this.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list