hgext/lfs/wrapper.py
changeset 37518 092eff6833a7
parent 37442 0596d27457c6
child 37564 31a4ea773369
--- a/hgext/lfs/wrapper.py	Sat Apr 07 22:40:11 2018 -0400
+++ b/hgext/lfs/wrapper.py	Sat Apr 07 22:22:20 2018 -0400
@@ -257,7 +257,9 @@
             pointers.append(p)
 
     if pointers:
-        repo.svfs.lfsremoteblobstore.readbatch(pointers, localstore)
+        # Recalculating the repo store here allows 'paths.default' that is set
+        # on the repo by a clone command to be used for the update.
+        blobstore.remote(repo).readbatch(pointers, localstore)
 
 def _canskipupload(repo):
     # if remotestore is a null store, upload is a no-op and can be skipped