mercurial/context.py
changeset 45073 a56ba57c837d
parent 44981 4c1d39215034
child 45088 83f75f1efdcc
--- a/mercurial/context.py	Sat Jul 11 00:31:21 2020 +0530
+++ b/mercurial/context.py	Thu Jul 09 18:48:55 2020 -0700
@@ -2540,8 +2540,12 @@
         # using things like remotefilelog.
         scmutil.prefetchfiles(
             self.repo(),
-            [self.p1().rev()],
-            scmutil.matchfiles(self.repo(), self._cache.keys()),
+            [
+                (
+                    self.p1().rev(),
+                    scmutil.matchfiles(self.repo(), self._cache.keys()),
+                )
+            ],
         )
 
         for path in self._cache.keys():