diff -r 876d54f800cf -r 356e61e82c2a mercurial/hgweb/hgwebdir_mod.py --- a/mercurial/hgweb/hgwebdir_mod.py Sun Apr 01 22:20:44 2018 +0900 +++ b/mercurial/hgweb/hgwebdir_mod.py Sun Apr 01 22:32:34 2018 +0900 @@ -109,7 +109,7 @@ allowed = ui.configlist('web', 'allow_archive', untrusted=True) archives = [] - for typ, spec in hgweb_mod.archivespecs.iteritems(): + for typ, spec in webutil.archivespecs.iteritems(): if typ in allowed or ui.configbool('web', 'allow' + typ, untrusted=True): archives.append({