mercurial/context.py
changeset 33797 4abf34f47526
parent 33779 9fa874fb34e1
child 33901 f488223a87ab
--- 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"""