Show More
@@ -130,11 +130,7 b' class bundlerevlog(revlog.revlog):' | |||||
130 | delta = self._chunk(chain.pop()) |
|
130 | delta = self._chunk(chain.pop()) | |
131 | text = mdiff.patches(text, [delta]) |
|
131 | text = mdiff.patches(text, [delta]) | |
132 |
|
132 | |||
133 | p1, p2 = self.parents(node) |
|
133 | self._checkhash(text, node, rev) | |
134 | if node != revlog.hash(text, p1, p2): |
|
|||
135 | raise error.RevlogError(_("integrity check failed on %s:%d") |
|
|||
136 | % (self.datafile, rev)) |
|
|||
137 |
|
||||
138 | self._cache = (node, rev, text) |
|
134 | self._cache = (node, rev, text) | |
139 | return text |
|
135 | return text | |
140 |
|
136 |
General Comments 0
You need to be logged in to leave comments.
Login now