##// END OF EJS Templates
revlog: remove unnecessary cache validation in _chunks...
Gregory Szorc -
r27650:e7222d32 default
parent child Browse files
Show More
@@ -1122,15 +1122,8 b' class revlog(object):'
1122 1122 l = []
1123 1123 ladd = l.append
1124 1124
1125 # preload the cache
1126 1125 try:
1127 while True:
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
1126 offset, data = self._chunkraw(revs[0], revs[-1], df=df)
1134 1127 except OverflowError:
1135 1128 # issue4215 - we can't cache a run of chunks greater than
1136 1129 # 2G on Windows
General Comments 0
You need to be logged in to leave comments. Login now