Mercurial > hg
changeset 38763:33ac6a72308a stable 4.7
revlog: fix descendant deprecated method
Fix the descendant deprecated method introduced earlier in this cycle.
This was caught by Yuya, thank you.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Wed, 01 Aug 2018 10:23:48 +0200 |
parents | fe3ca1e6f786 |
children | d55e53702ef9 |
files | mercurial/revlog.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revlog.py Tue Jul 31 13:46:57 2018 -0700 +++ b/mercurial/revlog.py Wed Aug 01 10:23:48 2018 +0200 @@ -1701,8 +1701,8 @@ return self.isancestorrev(a, b) def descendant(self, a, b): - msg = (b'revlog.descendant is deprecated, use revlog.isancestorrev') - self._repo.ui.deprecwarn(msg, b'4.7') + msg = 'revlog.descendant is deprecated, use revlog.isancestorrev' + util.nouideprecwarn(msg, '4.7') return self.isancestorrev(a, b) def isancestorrev(self, a, b):