hgext/remotefilelog/__init__.py
changeset 45276 cb6a72dc0511
parent 45106 a03c177a4679
child 45287 4ad6c4e9e35f
--- a/hgext/remotefilelog/__init__.py	Tue Jul 14 16:21:08 2020 +0530
+++ b/hgext/remotefilelog/__init__.py	Tue Jul 14 16:31:52 2020 +0530
@@ -479,7 +479,7 @@
 
 # prefetch files before update
 def applyupdates(
-    orig, repo, actions, wctx, mctx, overwrite, wantfiledata, labels=None
+    orig, repo, actions, wctx, mctx, overwrite, wantfiledata, **opts
 ):
     if isenabled(repo):
         manifest = mctx.manifest()
@@ -488,9 +488,7 @@
             files.append((f, hex(manifest[f])))
         # batch fetch the needed files from the server
         repo.fileservice.prefetch(files)
-    return orig(
-        repo, actions, wctx, mctx, overwrite, wantfiledata, labels=labels
-    )
+    return orig(repo, actions, wctx, mctx, overwrite, wantfiledata, **opts)
 
 
 # Prefetch merge checkunknownfiles