##// END OF EJS Templates
py3: convert error messages to bytes using util.forcebytestr()...
Pulkit Goyal -
r36492:d139eb30 default
parent child Browse files
Show More
@@ -520,7 +520,7 b' class revbranchcache(object):'
520 self._rbcrevslen = revs
520 self._rbcrevslen = revs
521 except (IOError, OSError, error.Abort, error.LockError) as inst:
521 except (IOError, OSError, error.Abort, error.LockError) as inst:
522 repo.ui.debug("couldn't write revision branch cache%s: %s\n"
522 repo.ui.debug("couldn't write revision branch cache%s: %s\n"
523 % (step, inst))
523 % (step, util.forcebytestr(inst)))
524 finally:
524 finally:
525 if wlock is not None:
525 if wlock is not None:
526 wlock.release()
526 wlock.release()
General Comments 0
You need to be logged in to leave comments. Login now