( )⚙ D3080 localrepo: use revsymbol in lookupbranch() too

This is an archive of the discontinued Mercurial Phabricator instance.

localrepo: use revsymbol in lookupbranch() too
ClosedPublic

Authored by martinvonz on Apr 4 2018, 6:53 PM.

Details

Summary

lookupbranch() takes a string that comes from the CLI, so
scmutil.revsymbol() is appropriate for looking it up.

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

martinvonz created this revision.Apr 4 2018, 6:53 PM
indygreg accepted this revision.Apr 4 2018, 8:45 PM
This revision is now accepted and ready to land.Apr 4 2018, 8:45 PM
This revision was automatically updated to reflect the committed changes.