diff -r bf249bb60087 -r 3d76a8e627a6 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Mon Oct 22 11:34:35 2018 -0700 +++ b/mercurial/hgweb/webcommands.py Tue Sep 05 15:21:21 2017 -0700 @@ -1216,8 +1216,7 @@ bodyfh = web.res.getbodyfile() - archival.archive(web.repo, bodyfh, cnode, artype, prefix=name, - matchfn=match, + archival.archive(web.repo, bodyfh, cnode, artype, prefix=name, match=match, subrepos=web.configbool("web", "archivesubrepos")) return []