Read about our upcoming Code of Conduct on this issue

Commit 72edd3f3 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

extensions: make `hg help extensions` list disabled extensions with PyOxidizer

`` has a mechanism for generating a list of bundled extensions
and their documenation and putting it in a `hgext/`
file. That file is then read from ``, which makes `hg
help extensions` work in py2exe binaries. This patch makes it so
`` produces the `hgext/` file also when called by

Thanks to Matt Harbison for pointing out the existence of

Differential Revision:
parent 61e7464477ac
......@@ -1695,6 +1695,9 @@ if py2exeloaded:
if dllexcludes:
py2exedllexcludes.extend(dllexcludes.split(' '))
if os.environ.get('PYOXIDIZER'):
hgbuild.sub_commands.insert(0, ('build_hgextindex', None))
if == 'nt':
# Windows binary file versions for exe/dll files must have the
# form W.X.Y.Z, where W,X,Y,Z are numbers in the range 0..65535
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment