##// END OF EJS Templates
manifest: correct readdelta() according to parentdeltas
Pradeepkumar Gayam -
r11934:cf858e76 default
parent child Browse files
Show More
@@ -36,6 +36,8 b' class manifest(revlog.revlog):'
36
36
37 def readdelta(self, node):
37 def readdelta(self, node):
38 r = self.rev(node)
38 r = self.rev(node)
39 if self._parentdelta:
40 return self.parse(mdiff.patchtext(self.revdiff(self.deltaparent(r), r)))
39 return self.parse(mdiff.patchtext(self.revdiff(r - 1, r)))
41 return self.parse(mdiff.patchtext(self.revdiff(r - 1, r)))
40
42
41 def read(self, node):
43 def read(self, node):
General Comments 0
You need to be logged in to leave comments. Login now