##// END OF EJS Templates
revlog: if start is nullrev, end is always a descendant
Nicolas Dumazet -
r12949:6878eaa5 stable
parent child Browse files
Show More
@@ -869,6 +869,8 class revlog(object):
869 return c
869 return c
870
870
871 def descendant(self, start, end):
871 def descendant(self, start, end):
872 if start == nullrev:
873 return True
872 for i in self.descendants(start):
874 for i in self.descendants(start):
873 if i == end:
875 if i == end:
874 return True
876 return True
General Comments 0
You need to be logged in to leave comments. Login now