mercurial/cmdutil.py
changeset 32656 4bec8cce6a09
parent 32618 d3e1c5b4986c
child 32658 55ff67ffcead
--- a/mercurial/cmdutil.py	Sat Jun 03 14:05:52 2017 +0900
+++ b/mercurial/cmdutil.py	Sat Jun 03 18:57:28 2017 +0900
@@ -1349,7 +1349,7 @@
             hexfunc = short
         # as of now, wctx.node() and wctx.rev() return None, but we want to
         # show the same values as {node} and {rev} templatekw
-        revnode = (scmutil.intrev(rev), hexfunc(bin(ctx.hex())))
+        revnode = (scmutil.intrev(ctx), hexfunc(bin(ctx.hex())))
 
         if self.ui.quiet:
             self.ui.write("%d:%s\n" % revnode, label='log.node')