##// END OF EJS Templates
revlog: also detect intermediate snapshots...
Paul Morelle -
r39186:f39efa88 default
parent child Browse files
Show More
@@ -2103,7 +2103,10 b' class revlog(object):'
2103 deltap = self.deltaparent(rev)
2103 deltap = self.deltaparent(rev)
2104 if deltap == nullrev:
2104 if deltap == nullrev:
2105 return True
2105 return True
2106 p1, p2 = self.parentrevs(rev)
2107 if deltap in (p1, p2):
2106 return False
2108 return False
2109 return self.issnapshot(deltap)
2107
2110
2108 def revdiff(self, rev1, rev2):
2111 def revdiff(self, rev1, rev2):
2109 """return or calculate a delta between two revisions
2112 """return or calculate a delta between two revisions
General Comments 0
You need to be logged in to leave comments. Login now