mercurial/context.py
changeset 45073 a56ba57c837d
parent 44981 4c1d39215034
child 45088 83f75f1efdcc
equal deleted inserted replaced
45072:196ba4d4eb86 45073:a56ba57c837d
  2538         keys = []
  2538         keys = []
  2539         # This won't be perfect, but can help performance significantly when
  2539         # This won't be perfect, but can help performance significantly when
  2540         # using things like remotefilelog.
  2540         # using things like remotefilelog.
  2541         scmutil.prefetchfiles(
  2541         scmutil.prefetchfiles(
  2542             self.repo(),
  2542             self.repo(),
  2543             [self.p1().rev()],
  2543             [
  2544             scmutil.matchfiles(self.repo(), self._cache.keys()),
  2544                 (
       
  2545                     self.p1().rev(),
       
  2546                     scmutil.matchfiles(self.repo(), self._cache.keys()),
       
  2547                 )
       
  2548             ],
  2545         )
  2549         )
  2546 
  2550 
  2547         for path in self._cache.keys():
  2551         for path in self._cache.keys():
  2548             cache = self._cache[path]
  2552             cache = self._cache[path]
  2549             try:
  2553             try: