mercurial/archival.py
changeset 36139 b72c6ff4e4c0
parent 36036 788b2e8530ae
child 36437 745b0df08514
--- a/mercurial/archival.py	Sun Feb 11 00:30:15 2018 -0500
+++ b/mercurial/archival.py	Sun Feb 11 00:49:43 2018 -0500
@@ -18,10 +18,10 @@
 from .i18n import _
 
 from . import (
-    cmdutil,
     error,
     formatter,
     match as matchmod,
+    scmutil,
     util,
     vfs as vfsmod,
 )
@@ -338,7 +338,7 @@
     total = len(files)
     if total:
         files.sort()
-        cmdutil._prefetchfiles(repo, ctx, files)
+        scmutil.fileprefetchhooks(repo, ctx, files)
         repo.ui.progress(_('archiving'), 0, unit=_('files'), total=total)
         for i, f in enumerate(files):
             ff = ctx.flags(f)