changeset 37353 | ac666c5c2e0c |
parent 37320 | 39f7d4ee8bcd |
child 37393 | afcfdf53e4b5 |
--- a/mercurial/wireproto.py Wed Apr 04 14:57:58 2018 -0700 +++ b/mercurial/wireproto.py Wed Apr 04 15:11:43 2018 -0700 @@ -1014,8 +1014,8 @@ def lookup(repo, proto, key): try: k = encoding.tolocal(key) - c = repo[k] - r = c.hex() + n = repo.lookup(k) + r = hex(n) success = 1 except Exception as inst: r = stringutil.forcebytestr(inst)