1. Yuya Nishihara
  2. hgext-fixfrozenexts


Yuya Nishihara  committed 856d326

update doc to include what this extension does

  • Participants
  • Parent commits badf7a7
  • Branches default

Comments (0)

Files changed (1)

File hgext/fixfrozenexts.py

View file
  • Ignore whitespace
 # This software may be used and distributed according to the terms of the
 # GNU General Public License version 2 or any later version.
-"""fix extensions.disabled() to work on frozen package"""
+"""fix extensions.disabled() to work on frozen package
+In frozen environment (built by py2exe), extensions.disabled() cannot list
+up packaged extensions. This fixes it by:
+ - importing pre-build __index__ of extensions if available
+ - otherwise reading library.zip
 import sys, os, re, zipfile, marshal
 from mercurial import util, extensions, help