Mercurial > hg-stable
changeset 33818:4abf34f47526
context: fix troubled deprecation
troubled has been renamed into isunstable but troubled was calling unstable
instead. Fix the mistake.
Differential Revision: https://phab.mercurial-scm.org/D384
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Mon, 14 Aug 2017 11:20:06 +0200 |
parents | 4f8c241b2bfa |
children | 2cd5aba5e1d2 |
files | mercurial/context.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Mon Aug 14 22:26:48 2017 -0400 +++ b/mercurial/context.py Mon Aug 14 11:20:06 2017 +0200 @@ -243,7 +243,7 @@ msg = ("'context.troubled' is deprecated, " "use 'context.isunstable'") self._repo.ui.deprecwarn(msg, '4.4') - return self.unstable() + return self.isunstable() def isunstable(self): """True if the changeset is either unstable, bumped or divergent"""