mercurial/commands.py
changeset 33730 52c5ff856b49
parent 33726 ab0c55c2ad9a
child 33771 96f43981c1c4
--- a/mercurial/commands.py	Wed Aug 02 19:09:00 2017 +0200
+++ b/mercurial/commands.py	Wed Aug 02 19:13:56 2017 +0200
@@ -4849,7 +4849,7 @@
                 ui.write(_(' (no revision checked out)'))
         if p.obsolete():
             ui.write(_(' (obsolete)'))
-        if p.troubled():
+        if p.isunstable():
             instabilities = (ui.label(instability, 'trouble.%s' % instability)
                              for instability in p.instabilities())
             ui.write(' ('