Mercurial > hg
changeset 39079:18e866ae2a7d
revlog: drop compatibility for `revlog.descendant` (API)
As advertised, the method is dropped in 4.8.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Tue, 14 Aug 2018 13:36:41 -0700 |
parents | 48157f198a04 |
children | 5c99486fcfe1 |
files | mercurial/revlog.py |
diffstat | 1 files changed, 0 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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