This is an archive of the discontinued Mercurial Phabricator instance.

hghave: disable demandimport when chg is running
ClosedPublic

Authored by singhsrb on Oct 17 2017, 2:20 PM.

Details

Summary

Chg disables demandimport on purpose for performance wins and
therefore, it probably makes sense to indicate that demandimport is disabled
when chg is running.

Test Plan

Ran all the tests.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

singhsrb created this revision.Oct 17 2017, 2:20 PM
quark added a subscriber: quark.Oct 17 2017, 2:26 PM
quark added inline comments.
tests/hghave.py
604–605

It's more accurate saying:

# chg disables demandimport on purpose

chg could support demandimport but chooses to disable it for performance win.

singhsrb added inline comments.Oct 17 2017, 2:30 PM
tests/hghave.py
604–605

Yes, that does looks like a better way to put it. I will update the commit message as well to reflect the same.

singhsrb edited the summary of this revision. (Show Details)Oct 17 2017, 2:39 PM
singhsrb retitled this revision from hghave: make 'on demand import' unsupported when chg is running to hghave: disable demandimport when chg is running.
singhsrb updated this revision to Diff 2940.
quark accepted this revision.Oct 17 2017, 5:21 PM
This revision was automatically updated to reflect the committed changes.