Show More
@@ -919,8 +919,13 b' class revlog(object):' | |||
|
919 | 919 | |
|
920 | 920 | # preload the cache |
|
921 | 921 | try: |
|
922 | self._chunkraw(revs[0], revs[-1]) | |
|
923 | offset, data = self._chunkcache | |
|
922 | while 1: | |
|
923 | # ensure that the cache doesn't change out from under us | |
|
924 | _cache = self._chunkcache | |
|
925 | self._chunkraw(revs[0], revs[-1]) | |
|
926 | if _cache == self._chunkcache: | |
|
927 | break | |
|
928 | offset, data = _cache | |
|
924 | 929 | except OverflowError: |
|
925 | 930 | # issue4215 - we can't cache a run of chunks greater than |
|
926 | 931 | # 2G on Windows |
General Comments 0
You need to be logged in to leave comments.
Login now