Show More
@@ -871,12 +871,12 b' class revlog(object):' | |||
|
871 | 871 | bins = [self._chunk(r) for r in chain] |
|
872 | 872 | text = mdiff.patches(text, bins) |
|
873 | 873 | |
|
874 | text = self._checkhash(text, node) | |
|
874 | text = self._checkhash(text, node, rev) | |
|
875 | 875 | |
|
876 | 876 | self._cache = (node, rev, text) |
|
877 | 877 | return text |
|
878 | 878 | |
|
879 | def _checkhash(self, text, node): | |
|
879 | def _checkhash(self, text, node, rev): | |
|
880 | 880 | p1, p2 = self.parents(node) |
|
881 | 881 | if (node != hash(text, p1, p2) and |
|
882 | 882 | not (self.flags(rev) & REVIDX_PUNCHED_FLAG)): |
General Comments 0
You need to be logged in to leave comments.
Login now