( )⚙ D8658 commands: use any() instead of `if a or b or c`

This is an archive of the discontinued Mercurial Phabricator instance.

commands: use any() instead of `if a or b or c`
ClosedPublic

Authored by pulkit on Jun 25 2020, 4:53 AM.

Details

Summary

Small cleanup for future when we have an option to show configs from shared rc.

Diff Detail

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

Event Timeline

pulkit created this revision.Jun 25 2020, 4:53 AM

Please use a tulpe for editopts so that it is a constant by itself.

pulkit updated this revision to Diff 21743.Jul 1 2020, 6:01 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.