D350: demandimport: test whether to enable or not in hg script

2017-08-15 Thread quark (Jun Wu)
quark abandoned this revision. quark added a comment. > So there's no point to duplicate the HGDEMANDIMPORT check? Hmm... I cannot remember why I did this at the first place. Just checking chg alone should be enough. REPOSITORY rHG Mercurial REVISION DETAIL

D350: demandimport: test whether to enable or not in hg script

2017-08-15 Thread yuja (Yuya Nishihara)
yuja added a comment. > `sys.modules['hgdemandimport']` being set? Maybe I should remove it from commit message. So there's no point to duplicate the HGDEMANDIMPORT check? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D350 To: quark, #hg-reviewers Cc:

D350: demandimport: test whether to enable or not in hg script

2017-08-15 Thread quark (Jun Wu)
quark added a comment. `sys.modules['hgdemandimport']` being set? Maybe I should remove it from commit message. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D350 To: quark, #hg-reviewers Cc: yuja, mercurial-devel

D350: demandimport: test whether to enable or not in hg script

2017-08-15 Thread yuja (Yuya Nishihara)
yuja added a comment. Seems fine, but what is the "side effects caused by importing demandimport" ? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D350 To: quark, #hg-reviewers Cc: yuja, mercurial-devel ___

D350: demandimport: test whether to enable or not in hg script

2017-08-11 Thread quark (Jun Wu)
quark created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This allows us to avoid side effects caused by importing demandimport if demandimport is disabled. It also gives the hg script more control about choosing whether