( )⚙ D7764 revset: drop some unused code in the `remote` revset

This is an archive of the discontinued Mercurial Phabricator instance.

revset: drop some unused code in the `remote` revset
ClosedPublic

Authored by mharbison72 on Dec 27 2019, 10:04 PM.

Details

Summary

PyCharm flagged the revs = [..] as an unused assignment. But then neither
revs nor checkout is used, and I can't see where hg.addbranchrevs() has
external side effects.

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

mharbison72 created this revision.Dec 27 2019, 10:04 PM
pulkit accepted this revision.Dec 30 2019, 8:11 AM
This revision is now accepted and ready to land.Dec 30 2019, 8:11 AM
This revision was automatically updated to reflect the committed changes.