Submitter | phabricator |
---|---|
Date | Feb. 24, 2020, 5:35 a.m. |
Message ID | <differential-rev-PHID-DREV-5qv7fyrmhbwwod4tj6jw-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/45292/ |
State | Superseded |
Headers | show |
Comments
marmoute added a comment. marmoute accepted this revision. This looks good to me. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8142/new/ REVISION DETAIL https://phab.mercurial-scm.org/D8142 To: mharbison72, #hg-reviewers, marmoute Cc: marmoute, mercurial-devel
Patch
diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -665,7 +665,9 @@ # here no extension enabled, disabled() lists up everything code = ( 'import pprint; from mercurial import extensions; ' - 'pprint.pprint(extensions.disabled())' + 'ext = extensions.disabled();' + 'ext.pop("__index__", None);' + 'pprint.pprint(ext)' ) returncode, out, err = runcmd( [sys.executable, '-c', code], localhgenv()