Show More
@@ -139,6 +139,11 b' class lazyparser(object):' | |||
|
139 | 139 | if self.all: return |
|
140 | 140 | if data is None: |
|
141 | 141 | self.dataf.seek(blockstart) |
|
142 | if blockstart + blocksize > self.datasize: | |
|
143 | # the revlog may have grown since we've started running, | |
|
144 | # but we don't have space in self.index for more entries. | |
|
145 | # limit blocksize so that we don't get too much data. | |
|
146 | blocksize = self.datasize - blockstart | |
|
142 | 147 | data = self.dataf.read(blocksize) |
|
143 | 148 | lend = len(data) / self.s |
|
144 | 149 | i = blockstart / self.s |
General Comments 0
You need to be logged in to leave comments.
Login now