Mercurial > public > mercurial-scm > hg
diff mercurial/wireprotov2server.py @ 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 | abbd077965c0 |
children | 3ed77780f4a6 |
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',