D5532: context: schedule file prefetch before comparing for cleanliness

spectral (Kyle Lippincott) phabricator at mercurial-scm.org
Tue Jan 15 18:47:20 EST 2019


spectral added a comment.


  In https://phab.mercurial-scm.org/D5532#82319, @yuja wrote:
  
  > > +        scmutil.prefetchfiles(
  > >  +            self.repo(), [self.p1().rev()],
  > >  +            matchmod.match('', '', patterns=self._cache.keys(), exact=True))
  >
  > Perhaps `scmutil.matchfiles()` can be used instead of the low-level constructor.
  
  
  phab.mercurial-scm.org/https://phab.mercurial-scm.org/D5591

REPOSITORY
  rHG Mercurial

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

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


More information about the Mercurial-devel mailing list