hgext3rd/topic/__init__.py
changeset 4581 48521a49a07e
parent 4574 5e8c47c553db
child 4628 c4097632a1a3
--- a/hgext3rd/topic/__init__.py	Wed Apr 24 17:21:21 2019 +0800
+++ b/hgext3rd/topic/__init__.py	Wed Apr 10 18:20:33 2019 +0800
@@ -154,7 +154,7 @@
 cmdtable = {}
 command = registrar.command(cmdtable)
 colortable = {'topic.active': 'green',
-              'topic.list.troubledcount': 'red',
+              'topic.list.unstablecount': 'red',
               'topic.list.headcount.multiple': 'yellow',
               'topic.list.behindcount': 'cyan',
               'topic.list.behinderror': 'red',
@@ -1024,11 +1024,11 @@
         fm.write('changesetcount', '%d changesets', data.changesetcount,
                  label='topic.list.changesetcount')
 
-        if data.troubledcount:
+        if data.unstablecount:
             fm.plain(', ')
-            fm.write('troubledcount', '%d troubled',
-                     data.troubledcount,
-                     label='topic.list.troubledcount')
+            fm.write('unstablecount', '%d unstable',
+                     data.unstablecount,
+                     label='topic.list.unstablecount')
 
         headcount = len(data.heads)
         if 1 < headcount: