mercurial/subrepo.py
changeset 45072 a56ba57c837d
parent 44823 3b7aabd02e11
child 45375 8c466bcb0879
--- a/mercurial/subrepo.py	Sat Jul 11 00:31:21 2020 +0530
+++ b/mercurial/subrepo.py	Thu Jul 09 18:48:55 2020 -0700
@@ -639,7 +639,7 @@
         rev = self._state[1]
         ctx = self._repo[rev]
         scmutil.prefetchfiles(
-            self._repo, [ctx.rev()], scmutil.matchfiles(self._repo, files)
+            self._repo, [(ctx.rev(), scmutil.matchfiles(self._repo, files))]
         )
         total = abstractsubrepo.archive(self, archiver, prefix, match)
         for subpath in ctx.substate: