This is an archive of the discontinued Mercurial Phabricator instance.

rhg: fallback if tweakdefaults or statuscopies is enabled with status

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



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

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

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