hgext/show.py
changeset 36991 317382151ac3
parent 36079 e3674c2a585c
child 37137 6890b7e991a4
--- a/hgext/show.py	Sat Mar 17 15:22:14 2018 +0900
+++ b/hgext/show.py	Sat Mar 17 11:23:04 2018 +0900
@@ -260,7 +260,7 @@
     shortesttmpl = formatter.maketemplater(ui, '{shortest(node, %d)}' % nodelen,
                                            resources=tres)
     def shortest(ctx):
-        return shortesttmpl.render({'ctx': ctx, 'node': ctx.hex()})
+        return shortesttmpl.renderdefault({'ctx': ctx, 'node': ctx.hex()})
 
     # We write out new heads to aid in DAG awareness and to help with decision
     # making on how the stack should be reconciled with commits made since the