##// END OF EJS Templates
py3: stringify IOError/OSError without loosing local character...
Yuya Nishihara -
r36219:46260fac default
parent child Browse files
Show More
@@ -377,7 +377,7 b' class revbranchcache(object):'
377 377 self._rbcrevs[:] = data
378 378 except (IOError, OSError) as inst:
379 379 repo.ui.debug("couldn't read revision branch cache: %s\n" %
380 pycompat.bytestr(inst))
380 util.forcebytestr(inst))
381 381 # remember number of good records on disk
382 382 self._rbcrevslen = min(len(self._rbcrevs) // _rbcrecsize,
383 383 len(repo.changelog))
General Comments 0
You need to be logged in to leave comments. Login now