diff -r c638a13093cf -r 0b18604db95e mercurial/hgweb/hgweb_mod.py --- a/mercurial/hgweb/hgweb_mod.py Tue Mar 06 15:08:33 2018 -0800 +++ b/mercurial/hgweb/hgweb_mod.py Wed Mar 07 16:02:24 2018 -0800 @@ -37,7 +37,6 @@ templater, ui as uimod, util, - wireproto, wireprotoserver, ) @@ -47,9 +46,6 @@ wsgicgi, ) -# Aliased for API compatibility. -perms = wireproto.permissions - archivespecs = util.sortdict(( ('zip', ('application/zip', 'zip', '.zip', None)), ('gz', ('application/x-gzip', 'tgz', '.tar.gz', None)),