D5591: context: use scmutil.matchfiles instead of matchmod.match(exact=True)
spectral (Kyle Lippincott)
phabricator at mercurial-scm.org
Tue Jan 15 23:47:14 UTC 2019
spectral created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
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