This is an archive of the discontinued Mercurial Phabricator instance.

run-tests: error out on `--local --with-[c]hg`
ClosedPublic

Authored by martinvonz on Aug 23 2019, 5:05 PM.

Details

Summary

I don't see much reason to allow these combinations. You could use
--local and override only one of --with-hg or --with-chg, but I don't
see much practical use for that. It would be easy to work around
anyway by passing both --with-hg and --with-chg. By erroring out, it
makes the code a bit easier to reason about to allow the next few
patches.

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

martinvonz created this revision.Aug 23 2019, 5:05 PM
pulkit accepted this revision.Aug 27 2019, 3:57 PM
This revision is now accepted and ready to land.Aug 27 2019, 3:57 PM
This revision was automatically updated to reflect the committed changes.