Mercurial > hg
diff mercurial/branchmap.py @ 36474:d139eb308358
py3: convert error messages to bytes using util.forcebytestr()
Differential Revision: https://phab.mercurial-scm.org/D2497
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Wed, 28 Feb 2018 19:54:49 +0530 |
parents | 743b293c3ca0 |
children | 95f4f1bfb650 |
line wrap: on
line diff
--- a/mercurial/branchmap.py Wed Feb 28 19:54:10 2018 +0530 +++ b/mercurial/branchmap.py Wed Feb 28 19:54:49 2018 +0530 @@ -520,7 +520,7 @@ self._rbcrevslen = revs except (IOError, OSError, error.Abort, error.LockError) as inst: repo.ui.debug("couldn't write revision branch cache%s: %s\n" - % (step, inst)) + % (step, util.forcebytestr(inst))) finally: if wlock is not None: wlock.release()