revlog: drop compatibility for `revlog.descendant` (API)
As advertised, the method is dropped in 4.8.
--- a/mercurial/revlog.py Tue Aug 14 13:36:11 2018 -0700
+++ b/mercurial/revlog.py Tue Aug 14 13:36:41 2018 -0700
@@ -1707,11 +1707,6 @@
a, b = self.rev(a), self.rev(b)
return self.isancestorrev(a, b)
- def descendant(self, a, b):
- msg = 'revlog.descendant is deprecated, use revlog.isancestorrev'
- util.nouideprecwarn(msg, '4.7')
- return self.isancestorrev(a, b)
-
def isancestorrev(self, a, b):
"""return True if revision a is an ancestor of revision b