D5532: context: schedule file prefetch before comparing for cleanliness

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Fri Jan 11 22:05:06 EST 2019


yuja added a comment.


  > +        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.

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