Show More
@@ -822,6 +822,9 b' class revlog(object):' | |||||
822 | def _chunk(self, rev): |
|
822 | def _chunk(self, rev): | |
823 | return decompress(self._chunkraw(rev, rev)) |
|
823 | return decompress(self._chunkraw(rev, rev)) | |
824 |
|
824 | |||
|
825 | def _chunkbase(self, rev): | |||
|
826 | return self._chunk(rev) | |||
|
827 | ||||
825 | def _chunkclear(self): |
|
828 | def _chunkclear(self): | |
826 | self._chunkcache = (0, '') |
|
829 | self._chunkcache = (0, '') | |
827 |
|
830 | |||
@@ -884,7 +887,7 b' class revlog(object):' | |||||
884 |
|
887 | |||
885 | self._chunkraw(base, rev) |
|
888 | self._chunkraw(base, rev) | |
886 | if text is None: |
|
889 | if text is None: | |
887 | text = self._chunk(base) |
|
890 | text = self._chunkbase(base) | |
888 |
|
891 | |||
889 | bins = [self._chunk(r) for r in chain] |
|
892 | bins = [self._chunk(r) for r in chain] | |
890 | text = mdiff.patches(text, bins) |
|
893 | text = mdiff.patches(text, bins) |
General Comments 0
You need to be logged in to leave comments.
Login now