Mercurial > hg
diff tests/test-hybridencode.py @ 42629:24111fb9a725
lookup: don't use "00changelog.i@None" when lookup of prefix fails
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".)
Differential Revision: https://phab.mercurial-scm.org/D6661
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 19 Jul 2019 09:43:50 -0700 |
parents | 6574c81b6831 |
children | 2372284d9457 |