Mercurial > public > mercurial-scm > hg-stable
diff mercurial/archival.py @ 35965:533f04d4cb6d
archive: call the storage prefetch hook
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 04 Feb 2018 14:31:32 -0500 |
parents | 887bbce7f491 |
children | 788b2e8530ae |
line wrap: on
line diff
--- a/mercurial/archival.py Sun Feb 04 00:33:28 2018 -0500 +++ b/mercurial/archival.py Sun Feb 04 14:31:32 2018 -0500 @@ -18,6 +18,7 @@ from .i18n import _ from . import ( + cmdutil, error, formatter, match as matchmod, @@ -337,6 +338,7 @@ total = len(files) if total: files.sort() + cmdutil._prefetchfiles(repo, ctx, files) repo.ui.progress(_('archiving'), 0, unit=_('files'), total=total) for i, f in enumerate(files): ff = ctx.flags(f)