D351: demandimport: disable by default if chg is being used

quark (Jun Wu) phabricator at mercurial-scm.org
Tue Aug 15 23:40:35 EDT 2017


quark added a comment.


  > That seems less bad since the hg script doesn't have to know the chg stuff.
  
  Having `HGDEMANDIMPORT` set may affect `hg` ran by child process (like hooks).
  
  How about moving the demandimport stuff to `dispatch.py`? I think eventually `dispatch.py` will have some special handling about chg.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D351

To: quark, #hg-reviewers, phillco
Cc: phillco, sid0, yuja, mercurial-devel


More information about the Mercurial-devel mailing list