diff -r bdb357161d7a -r 3e4294aa7944 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Fri Dec 27 13:56:08 2019 -0500 +++ b/mercurial/hgweb/webcommands.py Fri Dec 27 14:58:02 2019 -0500 @@ -1268,7 +1268,6 @@ name = b"%s-%s" % (reponame, arch_version) ctx = webutil.changectx(web.repo, web.req) - pats = [] match = scmutil.match(ctx, []) file = web.req.qsparams.get(b'file') if file: