Patchwork D5591: context: use scmutil.matchfiles instead of matchmod.match(exact=True)

login
register
mail settings
Submitter phabricator
Date Jan. 15, 2019, 11:57 p.m.
Message ID <bdd00456189bb3c4471b83aa03b269c7@localhost.localdomain>
Download mbox | patch
Permalink /patch/37766/
State Not Applicable
Headers show

Comments

phabricator - Jan. 15, 2019, 11:57 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGb129837190f7: context: use scmutil.matchfiles instead of matchmod.match(exact=True) (authored by spectral, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D5591?vs=13227&id=13228

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

AFFECTED FILES
  mercurial/context.py

CHANGE DETAILS




To: spectral, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -2022,7 +2022,7 @@ 
         # using things like remotefilelog.
         scmutil.prefetchfiles(
             self.repo(), [self.p1().rev()],
-            matchmod.match('', '', patterns=self._cache.keys(), exact=True))
+            scmutil.matchfiles(self.repo(), self._cache.keys()))
 
         for path in self._cache.keys():
             cache = self._cache[path]