mercurial/scmutil.py
changeset 36137 f52a9336ac5f
parent 35913 558e01a23f40
child 36145 4f3e989536c3
--- a/mercurial/scmutil.py	Tue Feb 13 00:54:36 2018 -0500
+++ b/mercurial/scmutil.py	Sun Feb 11 00:23:57 2018 -0500
@@ -1222,6 +1222,11 @@
     'unbundle',
 ]
 
+# a list of (repo, ctx, files) functions called by various commands to allow
+# extensions to ensure the corresponding files are available locally, before the
+# command uses them.
+fileprefetchhooks = util.hooks()
+
 # A marker that tells the evolve extension to suppress its own reporting
 _reportstroubledchangesets = True