cmdutil: convert the prefetchfiles() hook to a callback mechanism (API)

Authored by mharbison72.

Description

cmdutil: convert the prefetchfiles() hook to a callback mechanism (API)

Yuya suggested a list of callbacks instead of function wrapping. This means
that one extension can't block another from processing the list.

.. api::

File prefetching is now handled by registering a callback with
scmutil.fileprefetchhooks.

Details

Committed
mharbison72Feb 11 2018, 12:23 AM
Parents
rHG6767e7ce2c31: test-narrow: partially stabilize on Windows
Branches
Unknown
Tags
Unknown