Commits

Anonymous committed 6878eaa

revlog: if start is nullrev, end is always a descendant

Comments (0)

Files changed (1)

mercurial/revlog.py

         return c
 
     def descendant(self, start, end):
+        if start == nullrev:
+            return True
         for i in self.descendants(start):
             if i == end:
                 return True