diff mercurial/logcmdutil.py @ 39705:fa681452b249

log: make changesetformatter pass in changectx to formatter It wasn't necessary before, but user templates may have keywords that aren't filled in by the changesetformatter.
author Yuya Nishihara <yuya@tcha.org>
date Mon, 03 Sep 2018 21:01:47 +0900
parents 2523c0200df4
children ba93db1745ba
line wrap: on
line diff
--- a/mercurial/logcmdutil.py	Mon Sep 03 20:56:53 2018 +0900
+++ b/mercurial/logcmdutil.py	Mon Sep 03 21:01:47 2018 +0900
@@ -326,6 +326,7 @@
         fm = self._fm
         fm.startitem()
 
+        fm.context(ctx=ctx)
         # TODO: maybe this should be wdirrev/wdirnode?
         rev = ctx.rev()
         if rev is None: