Show More
@@ -885,11 +885,9 b' class revlog(object):' | |||
|
885 | 885 | |
|
886 | 886 | def revdiff(self, rev1, rev2): |
|
887 | 887 | """return or calculate a delta between two revisions""" |
|
888 | b1 = self.base(rev1) | |
|
889 | b2 = self.base(rev2) | |
|
890 | if b1 == b2 and rev1 + 1 == rev2: | |
|
888 | if rev1 + 1 == rev2 and self.base(rev1) == self.base(rev2): | |
|
891 | 889 | return self.chunk(rev2) |
|
892 | else: | |
|
890 | ||
|
893 | 891 |
|
|
894 | 892 |
|
|
895 | 893 |
General Comments 0
You need to be logged in to leave comments.
Login now