Show More
@@ -377,7 +377,7 b' class revbranchcache(object):' | |||||
377 | self._rbcrevs[:] = data |
|
377 | self._rbcrevs[:] = data | |
378 | except (IOError, OSError) as inst: |
|
378 | except (IOError, OSError) as inst: | |
379 | repo.ui.debug("couldn't read revision branch cache: %s\n" % |
|
379 | repo.ui.debug("couldn't read revision branch cache: %s\n" % | |
380 | inst) |
|
380 | pycompat.bytestr(inst)) | |
381 | # remember number of good records on disk |
|
381 | # remember number of good records on disk | |
382 | self._rbcrevslen = min(len(self._rbcrevs) // _rbcrecsize, |
|
382 | self._rbcrevslen = min(len(self._rbcrevs) // _rbcrecsize, | |
383 | len(repo.changelog)) |
|
383 | len(repo.changelog)) |
General Comments 0
You need to be logged in to leave comments.
Login now