##// END OF EJS Templates
revlog: drop cache after use to save memory footprint...
Matt Mackall -
r11754:6ccd130e stable
parent child Browse files
Show More
@@ -1029,6 +1029,9 b' class revlog(object):'
1029 base = self._cache[1]
1029 base = self._cache[1]
1030 text = self._cache[2]
1030 text = self._cache[2]
1031
1031
1032 # drop cache to save memory
1033 self._cache = None
1034
1032 self._loadindex(base, rev + 1)
1035 self._loadindex(base, rev + 1)
1033 self._chunkraw(base, rev)
1036 self._chunkraw(base, rev)
1034 if text is None:
1037 if text is None:
General Comments 0
You need to be logged in to leave comments. Login now