Skip to content
Snippets Groups Projects
Commit d70e620e authored by Pulkit Goyal's avatar Pulkit Goyal
Browse files

py3: use util.forcebytestr() to convert error messages to bytes

This makes the python 3 buildbot green again.

Differential Revision: https://phab.mercurial-scm.org/D4811
parent 8cef5703
Branches
Tags
No related merge requests found
......@@ -2669,7 +2669,8 @@
state['skipread'].add(node)
except Exception as e:
yield revlogproblem(
error=_('unpacking %s: %s') % (short(node), e),
error=_('unpacking %s: %s') % (short(node),
stringutil.forcebytestr(e)),
node=node)
state['skipread'].add(node)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment