mercurial/context.py
changeset 41224 b129837190f7
parent 41154 f18f665b1424
child 41417 9087513df412
equal deleted inserted replaced
41223:32ef47b3c91c 41224:b129837190f7
  2020         keys = []
  2020         keys = []
  2021         # This won't be perfect, but can help performance significantly when
  2021         # This won't be perfect, but can help performance significantly when
  2022         # using things like remotefilelog.
  2022         # using things like remotefilelog.
  2023         scmutil.prefetchfiles(
  2023         scmutil.prefetchfiles(
  2024             self.repo(), [self.p1().rev()],
  2024             self.repo(), [self.p1().rev()],
  2025             matchmod.match('', '', patterns=self._cache.keys(), exact=True))
  2025             scmutil.matchfiles(self.repo(), self._cache.keys()))
  2026 
  2026 
  2027         for path in self._cache.keys():
  2027         for path in self._cache.keys():
  2028             cache = self._cache[path]
  2028             cache = self._cache[path]
  2029             try:
  2029             try:
  2030                 underlying = self._wrappedctx[path]
  2030                 underlying = self._wrappedctx[path]