Mercurial > hg
diff mercurial/revlog.py @ 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 | a3dacabd476b |
children | 8f83a953dddf |
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