prefetch: use scmutil.fileprefetchhooks if cmdutil._revertprefetch unavailable
ClosedPublic

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

Details

Summary

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

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
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.