mercurial/hgweb/webcommands.py
changeset 38139 d32f07069dd1
parent 38138 8e9ce73ceb15
child 38140 220058198be6
--- a/mercurial/hgweb/webcommands.py	Wed Apr 04 20:29:58 2018 +0900
+++ b/mercurial/hgweb/webcommands.py	Wed Apr 04 20:31:16 2018 +0900
@@ -992,7 +992,7 @@
         rename=webutil.renamelink(fctx),
         permissions=fctx.manifest().flags(f),
         ishead=int(ishead),
-        diffopts=diffopts,
+        diffopts=templateutil.hybriddict(diffopts),
         **pycompat.strkwargs(webutil.commonentry(web.repo, fctx)))
 
 @webcommand('filelog')