Page MenuHomePhabricator

prefetch: use scmutil.fileprefetchhooks if cmdutil._revertprefetch unavailable

Authored by spectral on May 22 2018, 6:38 PM.



Mercurial commit f1f8b655da32 removed cmdutil._revertprefetch, preferring
scmutil.fileprefetchhooks instead. This commit only uses fileprefetchhooks if
cmdutil._revertprefetch is not available, preferring the more focused mechanism
to attempt to reduce potential duplicate effort.

Diff Detail

rFBHGX Facebook Mercurial Extensions
Lint Skipped
Unit Tests Skipped

Event Timeline

spectral created this revision.May 22 2018, 6:38 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptMay 22 2018, 6:38 PM
quark accepted this revision.May 31 2018, 4:46 PM
quark added a subscriber: quark.

Pushed. Thanks!

This revision is now accepted and ready to land.May 31 2018, 4:46 PM
This revision was automatically updated to reflect the committed changes.