mercurial/hgweb/webcommands.py
changeset 40407 3d76a8e627a6
parent 40295 fa88170c10bb
child 40936 e06719b7544d
--- 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 []