D5281: wireprotov2server: let repo.narrowmatch(match) do matcher intersection

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Fri Nov 16 06:41:50 EST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf83cea7f54d7: wireprotov2server: let repo.narrowmatch(match) do matcher intersection (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5281?vs=12553&id=12554

REVISION DETAIL
  https://phab.mercurial-scm.org/D5281

AFFECTED FILES
  mercurial/wireprotov2server.py

CHANGE DETAILS

diff --git a/mercurial/wireprotov2server.py b/mercurial/wireprotov2server.py
--- a/mercurial/wireprotov2server.py
+++ b/mercurial/wireprotov2server.py
@@ -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',



To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list