( )⚙ D10906 rhg: fallback if tweakdefaults or statuscopies is enabled with status

This is an archive of the discontinued Mercurial Phabricator instance.

rhg: fallback if tweakdefaults or statuscopies is enabled with status
ClosedPublic

Authored by pulkit on Jun 24 2021, 2:04 PM.

Details

Summary

rhg status is experimental right now and does not support all functionalities.
While the long term target is to implement them, for now we add a fallback to
have all tests pass with rhg status enabled.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

pulkit created this revision.Jun 24 2021, 2:04 PM

Nit: These match + if pairs can be folded into a single if invocation.config.get_bool(b"ui", b"tweakdefaults") == Some(true) each.

Other than this, looks good.

pulkit updated this revision to Diff 28694.Jun 24 2021, 5:20 PM
Alphare accepted this revision.Jul 2 2021, 12:38 PM
This revision is now accepted and ready to land.Jul 2 2021, 12:38 PM
pulkit updated this revision to Diff 30673.Oct 5 2021, 7:49 AM