equal
deleted
inserted
replaced
554 files = self.files() |
554 files = self.files() |
555 if match: |
555 if match: |
556 files = [f for f in files if match(f)] |
556 files = [f for f in files if match(f)] |
557 rev = self._state[1] |
557 rev = self._state[1] |
558 ctx = self._repo[rev] |
558 ctx = self._repo[rev] |
559 cmdutil._prefetchfiles(self._repo, ctx, files) |
559 scmutil.fileprefetchhooks(self._repo, ctx, files) |
560 total = abstractsubrepo.archive(self, archiver, prefix, match) |
560 total = abstractsubrepo.archive(self, archiver, prefix, match) |
561 for subpath in ctx.substate: |
561 for subpath in ctx.substate: |
562 s = subrepo(ctx, subpath, True) |
562 s = subrepo(ctx, subpath, True) |
563 submatch = matchmod.subdirmatcher(subpath, match) |
563 submatch = matchmod.subdirmatcher(subpath, match) |
564 total += s.archive(archiver, prefix + self._path + '/', submatch, |
564 total += s.archive(archiver, prefix + self._path + '/', submatch, |