changeset 36139 | b72c6ff4e4c0 |
parent 36009 | 55e8efa2451a |
child 36205 | 976e1cfb2f64 |
--- a/mercurial/subrepo.py Sun Feb 11 00:30:15 2018 -0500 +++ b/mercurial/subrepo.py Sun Feb 11 00:49:43 2018 -0500 @@ -556,7 +556,7 @@ files = [f for f in files if match(f)] rev = self._state[1] ctx = self._repo[rev] - cmdutil._prefetchfiles(self._repo, ctx, files) + scmutil.fileprefetchhooks(self._repo, ctx, files) total = abstractsubrepo.archive(self, archiver, prefix, match) for subpath in ctx.substate: s = subrepo(ctx, subpath, True)