equal
deleted
inserted
replaced
637 if match: |
637 if match: |
638 files = [f for f in files if match(f)] |
638 files = [f for f in files if match(f)] |
639 rev = self._state[1] |
639 rev = self._state[1] |
640 ctx = self._repo[rev] |
640 ctx = self._repo[rev] |
641 scmutil.prefetchfiles( |
641 scmutil.prefetchfiles( |
642 self._repo, [ctx.rev()], scmutil.matchfiles(self._repo, files) |
642 self._repo, [(ctx.rev(), scmutil.matchfiles(self._repo, files))] |
643 ) |
643 ) |
644 total = abstractsubrepo.archive(self, archiver, prefix, match) |
644 total = abstractsubrepo.archive(self, archiver, prefix, match) |
645 for subpath in ctx.substate: |
645 for subpath in ctx.substate: |
646 s = subrepo(ctx, subpath, True) |
646 s = subrepo(ctx, subpath, True) |
647 submatch = matchmod.subdirmatcher(subpath, match) |
647 submatch = matchmod.subdirmatcher(subpath, match) |