# HG changeset patch # User Martin von Zweigbergk # Date 2018-11-15 19:22:32 # Node ID f83cea7f54d7c8c47ad739d1225e5fc3918b542c # Parent 85372dc0cca34f5232c3d29161e1f09e797cd8ec 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 diff --git a/mercurial/wireprotov2server.py b/mercurial/wireprotov2server.py --- a/mercurial/wireprotov2server.py +++ b/mercurial/wireprotov2server.py @@ -1045,7 +1045,7 @@ def makefilematcher(repo, pathfilter): # 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',