hgext/lfs/wrapper.py
changeset 45072 a56ba57c837d
parent 44073 b9e174d4ed11
child 45106 a03c177a4679
--- a/hgext/lfs/wrapper.py	Sat Jul 11 00:31:21 2020 +0530
+++ b/hgext/lfs/wrapper.py	Thu Jul 09 18:48:55 2020 -0700
@@ -337,7 +337,7 @@
             setattr(self, name, getattr(othervfs, name))
 
 
-def _prefetchfiles(repo, revs, match):
+def _prefetchfiles(repo, revmatches):
     """Ensure that required LFS blobs are present, fetching them as a group if
     needed."""
     if not util.safehasattr(repo.svfs, b'lfslocalblobstore'):
@@ -347,7 +347,7 @@
     oids = set()
     localstore = repo.svfs.lfslocalblobstore
 
-    for rev in revs:
+    for rev, match in revmatches:
         ctx = repo[rev]
         for f in ctx.walk(match):
             p = pointerfromctx(ctx, f)