diff mercurial/commands.py @ 38540:1e25782a7583

grep: add support for log-like template keywords and functions
author Yuya Nishihara <yuya@tcha.org>
date Sun, 01 Jul 2018 22:02:53 +0900
parents 39db5a01cd53
children ece3f2d0bbd9
line wrap: on
line diff
--- a/mercurial/commands.py	Sun Jul 01 21:47:43 2018 +0900
+++ b/mercurial/commands.py	Sun Jul 01 22:02:53 2018 +0900
@@ -2634,6 +2634,7 @@
             iter = [('', l) for l in states]
         for change, l in iter:
             fm.startitem()
+            fm.context(ctx=ctx)
             fm.data(node=fm.hexfunc(scmutil.binnode(ctx)))
 
             cols = [