# HG changeset patch # User Pierre-Yves David <pierre-yves.da...@octobus.net> # Date 1573405970 -3600 # Sun Nov 10 18:12:50 2019 +0100 # Node ID 26c342b1b1e492b5b3c08c0dcc71492784dc766c # Parent 494731e060b7ebb613546f71127d4ffbc5e40019 # EXP-Topic nodemap-preparation # Available At https://dev.heptapod.net/octobus/mercurial-devel/ # hg pull https://dev.heptapod.net/octobus/mercurial-devel/ -r 26c342b1b1e4 nodemap: use bytes for the error message
Spotted by Yuya Nishihara. diff --git a/mercurial/revlogutils/__init__.py b/mercurial/revlogutils/__init__.py --- a/mercurial/revlogutils/__init__.py +++ b/mercurial/revlogutils/__init__.py @@ -11,4 +11,4 @@ from .. import error class NodeMap(dict): def __missing__(self, x): - raise error.RevlogError('unknown node: %s' % x) + raise error.RevlogError(b'unknown node: %s' % x) _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel