mercurial/hgweb/webcommands.py
branchstable
changeset 23232 a0ccb66f344d
parent 22634 e48a5d3996c2
child 23689 4fedf2a9b538
--- a/mercurial/hgweb/webcommands.py	Wed Nov 05 20:31:58 2014 -0500
+++ b/mercurial/hgweb/webcommands.py	Wed Nov 05 21:33:45 2014 -0500
@@ -901,7 +901,7 @@
 
     ctx = webutil.changectx(web.repo, req)
     pats = []
-    matchfn = None
+    matchfn = scmutil.match(ctx, [])
     file = req.form.get('file', None)
     if file:
         pats = ['path:' + file[0]]