# HG changeset patch # User Pierre-Yves David # Date 1573931315 -3600 # 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 -r 4394687b298b -r 4cd911040ba5 mercurial/pure/base85.py --- a/mercurial/pure/base85.py Sat Nov 16 20:07:49 2019 +0100 +++ b/mercurial/pure/base85.py Sat Nov 16 20:08:35 2019 +0100 @@ -70,7 +70,7 @@ '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