mercurial/cmdutil.py
changeset 36140 3a90159c2c2e
parent 36137 f52a9336ac5f
child 36141 62719115875d
--- a/mercurial/cmdutil.py	Sun Feb 11 00:49:43 2018 -0500
+++ b/mercurial/cmdutil.py	Sun Feb 11 00:51:22 2018 -0500
@@ -2187,14 +2187,14 @@
         mfnode = ctx.manifestnode()
         try:
             if mfnode and mfl[mfnode].find(file)[0]:
-                _prefetchfiles(repo, ctx, [file])
+                scmutil.fileprefetchhooks(repo, ctx, [file])
                 write(file)
                 return 0
         except KeyError:
             pass
 
     files = [f for f in ctx.walk(matcher)]
-    _prefetchfiles(repo, ctx, files)
+    scmutil.fileprefetchhooks(repo, ctx, files)
 
     for abs in files:
         write(abs)