wireprotov2server: let repo.narrowmatch(match) do matcher intersection
authorMartin von Zweigbergk <martinvonz@google.com>
Thu, 15 Nov 2018 11:22:32 -0800
changeset 40649 f83cea7f54d7
parent 40648 85372dc0cca3
child 40650 ea84c2b286a2
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
mercurial/wireprotov2server.py
--- 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',