D351: demandimport: disable if chg is being used

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Aug 18 09:11:06 EDT 2017


yuja added a comment.


  > Instead of running `hg serve --cmdserver chgunix ...`, chg client executes `chgserve ...`. And the hg script could notice that by checking `sys.argv[0]` and does some special handling
  
  At this point, I don't think it's simpler than using CHGINTERNALMARK or HGDEMANDIMPORT.
  
  We might need another entry point for chg in future for some reason, but that is the last option IMHO.

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