mercurial/debugcommands.py
changeset 35469 f1c54d003327
parent 35465 3bb1a647ab42
child 35514 5880318624c9
--- a/mercurial/debugcommands.py	Thu Dec 21 21:29:06 2017 +0900
+++ b/mercurial/debugcommands.py	Thu Dec 21 22:05:30 2017 +0900
@@ -2361,8 +2361,8 @@
             ui.note(("* expanded:\n"), templater.prettyformat(newtree), '\n')
 
     if revs is None:
-        t = formatter.maketemplater(ui, tmpl)
-        props['ui'] = ui
+        tres = formatter.templateresources(ui, repo)
+        t = formatter.maketemplater(ui, tmpl, resources=tres)
         ui.write(t.render(props))
     else:
         displayer = cmdutil.makelogtemplater(ui, repo, tmpl)