##// END OF EJS Templates
revlog: introduce _chunkbase to allow filelog to override...
Sune Foldager -
r14075:bc101902 default
parent child Browse files
Show More
@@ -822,6 +822,9 class revlog(object):
822 822 def _chunk(self, rev):
823 823 return decompress(self._chunkraw(rev, rev))
824 824
825 def _chunkbase(self, rev):
826 return self._chunk(rev)
827
825 828 def _chunkclear(self):
826 829 self._chunkcache = (0, '')
827 830
@@ -884,7 +887,7 class revlog(object):
884 887
885 888 self._chunkraw(base, rev)
886 889 if text is None:
887 text = self._chunk(base)
890 text = self._chunkbase(base)
888 891
889 892 bins = [self._chunk(r) for r in chain]
890 893 text = mdiff.patches(text, bins)
General Comments 0
You need to be logged in to leave comments. Login now