# HG changeset patch # User Pierre-Yves David # Date 2019-11-16 19:08:35 # Node ID 4cd911040ba5e756c079f65c873f715016887094 # Parent 4394687b298b0f72a1d7b54d798860ffdaa62863 pure: use string for another exception in the pure version of base85 That message does not seems tested, but I am assuming that the same reasoning as for the previous changeset applies. diff --git a/mercurial/pure/base85.py b/mercurial/pure/base85.py --- a/mercurial/pure/base85.py +++ b/mercurial/pure/base85.py @@ -70,7 +70,7 @@ def b85decode(text): 'bad base85 character at position %d' % (i + j) ) if acc > 4294967295: - raise ValueError(b'Base85 overflow in hunk starting at byte %d' % i) + raise ValueError('Base85 overflow in hunk starting at byte %d' % i) out.append(acc) # Pad final chunk if necessary