def readdelta(self, node):
     r = self.rev(node)
     return self.parse(mdiff.patchtext(self.revdiff(self.deltaparent(r),
                                                    r)))
示例#2
0
 def readdelta(self, node):
     return self.parse(mdiff.patchtext(self.delta(node)))
示例#3
0
 def readdelta(self, node):
     r = self.rev(node)
     return _parse(mdiff.patchtext(self.revdiff(self.deltaparent(r), r)))
示例#4
0
 def readdelta(self, node):
     r = self.rev(node)
     return self.parse(mdiff.patchtext(self.revdiff(r - 1, r)))
示例#5
0
 def readdelta(self, node):
     if self._usemanifestv2 or self._treeondisk:
         return self._slowreaddelta(node)
     r = self.rev(node)
     d = mdiff.patchtext(self.revdiff(self.deltaparent(r), r))
     return self._newmanifest(d)
示例#6
0
 def readdelta(self, node):
     if self._usemanifestv2 or self._treeondisk:
         return self._slowreaddelta(node)
     r = self.rev(node)
     d = mdiff.patchtext(self.revdiff(self.deltaparent(r), r))
     return self._newmanifest(d)
示例#7
0
 def readdelta(self, node):
     r = self.rev(node)
     return self.parse(mdiff.patchtext(self.revdiff(r - 1, r)))
示例#8
0
 def readdelta(self, node):
     r = self.rev(node)
     d = mdiff.patchtext(self.revdiff(self.deltaparent(r), r))
     return self._newmanifest(d)