--- a/mercurial/logcmdutil.py Thu Mar 15 21:49:33 2018 +0900
+++ b/mercurial/logcmdutil.py Thu Mar 15 21:52:47 2018 +0900
@@ -288,7 +288,7 @@
t = formatter.maketemplater(self.repo.ui, '{join(obsfate, "\n")}',
defaults=templatekw.keywords,
resources=tres)
- obsfate = t.renderdefault({'ctx': ctx, 'revcache': {}}).splitlines()
+ obsfate = t.renderdefault({'ctx': ctx}).splitlines()
if obsfate:
for obsfateline in obsfate:
@@ -856,7 +856,7 @@
templ = formatter.maketemplater(ui, spec, defaults=templatekw.keywords,
resources=tres)
def formatnode(repo, ctx):
- props = {'ctx': ctx, 'repo': repo, 'revcache': {}}
+ props = {'ctx': ctx, 'repo': repo}
return templ.renderdefault(props)
return formatnode