This is an archive of the discontinued Mercurial Phabricator instance.

narrow: set opts['narrow'] instead of local variable
ClosedPublic

Authored by indygreg on Sep 11 2018, 8:27 PM.

Details

Summary

This will allow the command function in core to infer the presence
of the option without duplicating logic.

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

indygreg created this revision.Sep 11 2018, 8:27 PM
pulkit accepted this revision.Sep 12 2018, 7:51 AM
This revision was automatically updated to reflect the committed changes.