changeset 40649:f83cea7f54d7

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
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 15 Nov 2018 11:22:32 -0800
parents 85372dc0cca3
children ea84c2b286a2
files mercurial/wireprotov2server.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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',