D5532: context: schedule file prefetch before comparing for cleanliness

Yuya Nishihara yuya at tcha.org
Fri Jan 11 21:56:34 EST 2019


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


More information about the Mercurial-devel mailing list