This is an archive of the discontinued Mercurial Phabricator instance.

lookup: don't use "00changelog.i@None" when lookup of prefix fails
ClosedPublic

Authored by martinvonz on Jul 19 2019, 1:36 PM.

Details

Summary

We were shadowing the "node" variable, so we always passed None to the
LookupError instead of the node we meant to pass.

(This showed up in py3 tests since py3 doesn't like to format None
using "%s".)

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.