Mercurial > public > mercurial-scm > hg-stable
diff mercurial/revlog.py @ 39913:d70e620ee8c9
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
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Sun, 30 Sep 2018 05:52:42 +0530 |
parents | debc4ee597e7 |
children | 0b24fcd88066 |
line wrap: on
line diff
--- a/mercurial/revlog.py Thu Sep 27 14:26:02 2018 -0700 +++ b/mercurial/revlog.py Sun Sep 30 05:52:42 2018 +0530 @@ -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)