equal
deleted
inserted
replaced
599 path = '%s/../contrib/debian/control' % os.environ['TESTDIR'] |
599 path = '%s/../contrib/debian/control' % os.environ['TESTDIR'] |
600 return matchoutput('dpkg-checkbuilddeps %s' % path, br'') |
600 return matchoutput('dpkg-checkbuilddeps %s' % path, br'') |
601 |
601 |
602 @check("demandimport", "demandimport enabled") |
602 @check("demandimport", "demandimport enabled") |
603 def has_demandimport(): |
603 def has_demandimport(): |
604 return os.environ.get('HGDEMANDIMPORT') != 'disable' |
604 # chg disables demandimport intentionally for performance wins. |
|
605 return ((not has_chg()) and os.environ.get('HGDEMANDIMPORT') != 'disable') |
605 |
606 |
606 @check("py3k", "running with Python 3.x") |
607 @check("py3k", "running with Python 3.x") |
607 def has_py3k(): |
608 def has_py3k(): |
608 return 3 == sys.version_info[0] |
609 return 3 == sys.version_info[0] |
609 |
610 |