hgext3rd/topic/stack.py
changeset 4655 bb0a5beb0ad8
parent 4654 0d05dcb8dd37
child 4656 dbf676c86244
--- a/hgext3rd/topic/stack.py	Fri May 17 17:59:58 2019 +0800
+++ b/hgext3rd/topic/stack.py	Fri May 17 17:42:06 2019 +0800
@@ -362,17 +362,17 @@
             if ui.verbose:
                 fm.plain('              ')
         else:
-            fm.write('topic.stack.index', '%s%%d' % prefix, idx,
+            fm.write('stack_index', '%s%%d' % prefix, idx,
                      label=labelsgen('topic.stack.index', states))
             if ui.verbose:
-                fm.write('topic.stack.shortnode', '(%s)', short(ctx.node()),
+                fm.write('node', '(%s)', short(ctx.node()),
                          label=labelsgen('topic.stack.shortnode', states))
-        fm.write('topic.stack.state.symbol', '%s', symbol,
+        fm.write('symbol', '%s', symbol,
                  label=labelsgen('topic.stack.state', states))
         fm.plain(' ')
-        fm.write('topic.stack.desc', '%s', ctx.description().splitlines()[0],
+        fm.write('desc', '%s', ctx.description().splitlines()[0],
                  label=labelsgen('topic.stack.desc', states))
-        fm.condwrite(states != ['clean'] and idx is not None, 'topic.stack.state',
+        fm.condwrite(states != ['clean'] and idx is not None, 'state',
                      ' (%s)', fm.formatlist(states, 'topic.stack.state'),
                      label=labelsgen('topic.stack.state', states))
         fm.plain('\n')