Show More
@@ -831,14 +831,6 b' class revlog(object):' | |||||
831 | p1, p2 = self.parents(node) |
|
831 | p1, p2 = self.parents(node) | |
832 | return hash(text, p1, p2) != node |
|
832 | return hash(text, p1, p2) != node | |
833 |
|
833 | |||
834 | def makenode(self, node, text): |
|
|||
835 | """calculate a file nodeid for text, descended or possibly |
|
|||
836 | unchanged from node""" |
|
|||
837 |
|
||||
838 | if self.cmp(node, text): |
|
|||
839 | return hash(text, node, nullid) |
|
|||
840 | return node |
|
|||
841 |
|
||||
842 | def diff(self, a, b): |
|
834 | def diff(self, a, b): | |
843 | """return a delta between two revisions""" |
|
835 | """return a delta between two revisions""" | |
844 | return mdiff.textdiff(a, b) |
|
836 | return mdiff.textdiff(a, b) |
General Comments 0
You need to be logged in to leave comments.
Login now