singhsrb created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers.
REVISION SUMMARY Chg does not support on demand import and therefore, it probably makes sense to indicate that the 'on demand import' is unsupported when chg is running. TEST PLAN Ran all the tests. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D1161 AFFECTED FILES tests/hghave.py CHANGE DETAILS diff --git a/tests/hghave.py b/tests/hghave.py --- a/tests/hghave.py +++ b/tests/hghave.py @@ -601,7 +601,8 @@ @check("demandimport", "demandimport enabled") def has_demandimport(): - return os.environ.get('HGDEMANDIMPORT') != 'disable' + # chg does not support on demand importing. + return ((not has_chg()) and os.environ.get('HGDEMANDIMPORT') != 'disable') @check("py3k", "running with Python 3.x") def has_py3k(): To: singhsrb, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel