Show More
@@ -1122,15 +1122,8 b' class revlog(object):' | |||||
1122 | l = [] |
|
1122 | l = [] | |
1123 | ladd = l.append |
|
1123 | ladd = l.append | |
1124 |
|
1124 | |||
1125 | # preload the cache |
|
|||
1126 | try: |
|
1125 | try: | |
1127 | while True: |
|
1126 | offset, data = self._chunkraw(revs[0], revs[-1], df=df) | |
1128 | # ensure that the cache doesn't change out from under us |
|
|||
1129 | _cache = self._chunkcache |
|
|||
1130 | self._chunkraw(revs[0], revs[-1], df=df)[1] |
|
|||
1131 | if _cache == self._chunkcache: |
|
|||
1132 | break |
|
|||
1133 | offset, data = _cache |
|
|||
1134 | except OverflowError: |
|
1127 | except OverflowError: | |
1135 | # issue4215 - we can't cache a run of chunks greater than |
|
1128 | # issue4215 - we can't cache a run of chunks greater than | |
1136 | # 2G on Windows |
|
1129 | # 2G on Windows |
General Comments 0
You need to be logged in to leave comments.
Login now