##// END OF EJS Templates
hghave: add demandimport checking
timeless -
r29867:b05a3a04 default
parent child Browse files
Show More
@@ -530,6 +530,10 b' def has_debhelper():'
530 br'other supported Python versions')
530 br'other supported Python versions')
531 return dpkg and dh and dh_py2
531 return dpkg and dh and dh_py2
532
532
533 @check("demandimport", "demandimport enabled")
534 def has_demandimport():
535 return os.environ.get('HGDEMANDIMPORT') != 'disable'
536
533 @check("absimport", "absolute_import in __future__")
537 @check("absimport", "absolute_import in __future__")
534 def has_absimport():
538 def has_absimport():
535 import __future__
539 import __future__
General Comments 0
You need to be logged in to leave comments. Login now