wireprotov2server: let repo.narrowmatch(match) do matcher intersection
This is supported since
4fd0fac48922 (localrepo: allow narrowmatch()
to accept matcher to intersect with, 2018-09-28).
Differential Revision: https://phab.mercurial-scm.org/D5281
--- a/mercurial/wireprotov2server.py Sun Nov 11 17:29:46 2018 +0900
+++ b/mercurial/wireprotov2server.py Thu Nov 15 11:22:32 2018 -0800
@@ -1045,7 +1045,7 @@
# Requested patterns could include files not in the local store. So
# filter those out.
- return matchmod.intersectmatchers(repo.narrowmatch(), matcher)
+ return repo.narrowmatch(matcher)
@wireprotocommand(
'filedata',