This is an archive of the discontinued Mercurial Phabricator instance.

mq: avoid a silly conversion from binary nodeid to hex
ClosedPublic

Authored by martinvonz on Apr 5 2018, 3:16 PM.

Details

Summary

We generally deal with binary nodeids in code. In this case the hex
nodeid was passed to strip.checksubstate() where it was passed to
repo.getitem, which of course accepts a binary nodeid.

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 5 2018, 3:16 PM
indygreg accepted this revision.Apr 5 2018, 7:42 PM
This revision is now accepted and ready to land.Apr 5 2018, 7:42 PM
This revision was automatically updated to reflect the committed changes.