changeset 43627:9e1932eb41f9

nodemap: use bytes for the error message Spotted by Yuya Nishihara.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sun, 10 Nov 2019 18:12:50 +0100
parents cbcd72844df1
children f5991fd7cca7
files mercurial/revlogutils/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revlogutils/__init__.py	Sat Nov 09 16:16:31 2019 +0100
+++ b/mercurial/revlogutils/__init__.py	Sun Nov 10 18:12:50 2019 +0100
@@ -11,4 +11,4 @@
 
 class NodeMap(dict):
     def __missing__(self, x):
-        raise error.RevlogError('unknown node: %s' % x)
+        raise error.RevlogError(b'unknown node: %s' % x)