mercurial/branchmap.py
changeset 36201 46260fac5563
parent 36150 fa4d333cac58
child 36396 743b293c3ca0
--- a/mercurial/branchmap.py	Fri Jan 26 19:48:39 2018 +0900
+++ b/mercurial/branchmap.py	Wed Feb 14 21:29:27 2018 +0900
@@ -377,7 +377,7 @@
                 self._rbcrevs[:] = data
             except (IOError, OSError) as inst:
                 repo.ui.debug("couldn't read revision branch cache: %s\n" %
-                              pycompat.bytestr(inst))
+                              util.forcebytestr(inst))
         # remember number of good records on disk
         self._rbcrevslen = min(len(self._rbcrevs) // _rbcrecsize,
                                len(repo.changelog))