diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -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"""