D5591: context: use scmutil.matchfiles instead of matchmod.match(exact=True)
spectral (Kyle Lippincott)
phabricator at mercurial-scm.org
Tue Jan 15 18:57:17 EST 2019
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
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]
To: spectral, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list