##// END OF EJS Templates
revlog: do inclusive descendant testing (API)...
Boris Feld -
r38767:879cbdde default
parent child Browse files
Show More
@@ -1378,6 +1378,8 b' class revlog(object):'
1378 def descendant(self, start, end):
1378 def descendant(self, start, end):
1379 if start == nullrev:
1379 if start == nullrev:
1380 return True
1380 return True
1381 elif start == end:
1382 return True
1381 for i in self.descendants([start]):
1383 for i in self.descendants([start]):
1382 if i == end:
1384 if i == end:
1383 return True
1385 return True
General Comments 0
You need to be logged in to leave comments. Login now