Submitter | phabricator |
---|---|
Date | Aug. 16, 2017, 5:45 p.m. |
Message ID | <1646e4a04ea913c1c03a8b11fe029259@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/23087/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py --- a/mercurial/dispatch.py +++ b/mercurial/dispatch.py @@ -96,6 +96,9 @@ def _enabledemandimport(): """enable importing on demand to reduce startup time""" + if 'CHGINTERNALMARK' in pycompat.environ: + # disable demandimport for chgserver + return if sys.version_info[0] < 3 or sys.version_info >= (3, 6): import hgdemandimport; hgdemandimport.enable()