hgext3rd/topic/stack.py
changeset 4656 dbf676c86244
parent 4655 bb0a5beb0ad8
child 4657 c24dabf8e848
--- a/hgext3rd/topic/stack.py	Fri May 17 17:42:06 2019 +0800
+++ b/hgext3rd/topic/stack.py	Fri May 17 17:50:25 2019 +0800
@@ -365,8 +365,10 @@
             fm.write('stack_index', '%s%%d' % prefix, idx,
                      label=labelsgen('topic.stack.index', states))
             if ui.verbose:
-                fm.write('node', '(%s)', short(ctx.node()),
+                fm.write('node', '(%s)', fm.hexfunc(ctx.node()),
                          label=labelsgen('topic.stack.shortnode', states))
+            else:
+                fm.data(node=fm.hexfunc(ctx.node()))
         fm.write('symbol', '%s', symbol,
                  label=labelsgen('topic.stack.state', states))
         fm.plain(' ')