diff -r 37b7581e5737 -r a57c938e7ac8 mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py Mon Oct 02 19:25:11 2017 -0700 +++ b/mercurial/hgweb/hgwebdir_mod.py Fri Sep 29 15:48:34 2017 +0000 @@ -320,7 +320,7 @@ for typ, spec in hgweb_mod.archivespecs.iteritems(): if typ in allowed or ui.configbool("web", "allow" + typ, untrusted=True): - archives.append({"type" : typ, "extension": spec[2], + archives.append({"type": typ, "extension": spec[2], "node": nodeid, "url": url}) return archives