mercurial/hgweb/webcommands.py
changeset 37902 2095331ff926
parent 37698 7738ae638b62
child 37909 7fae76c2c564
--- a/mercurial/hgweb/webcommands.py	Fri Apr 27 11:23:41 2018 -0400
+++ b/mercurial/hgweb/webcommands.py	Mon Apr 02 00:00:29 2018 +0900
@@ -819,7 +819,7 @@
         rename = webutil.renamelink(fctx)
         ctx = fctx
     else:
-        rename = []
+        rename = templateutil.mappinglist([])
         ctx = ctx
 
     return web.sendtemplate(
@@ -892,7 +892,7 @@
         rename = webutil.renamelink(fctx)
         ctx = fctx
     else:
-        rename = []
+        rename = templateutil.mappinglist([])
         ctx = ctx
 
     return web.sendtemplate(