hgext/largefiles/lfcommands.py
changeset 29305 814076f4ace3
parent 28559 30863ca01c6b
child 29308 8c378a7d2aa6
--- a/hgext/largefiles/lfcommands.py	Thu Jun 02 22:39:01 2016 +0100
+++ b/hgext/largefiles/lfcommands.py	Sat Jun 04 16:53:44 2016 +0200
@@ -20,7 +20,7 @@
 from hgext.convert import filemap
 
 import lfutil
-import basestore
+import storefactory
 
 # -- Commands ----------------------------------------------------------
 
@@ -337,7 +337,7 @@
     if not files:
         return
 
-    store = basestore._openstore(rsrc, rdst, put=True)
+    store = storefactory._openstore(rsrc, rdst, put=True)
 
     at = 0
     ui.debug("sending statlfile command for %d largefiles\n" % len(files))
@@ -368,7 +368,7 @@
     else:
         revs = ['.']
 
-    store = basestore._openstore(repo)
+    store = storefactory._openstore(repo)
     return store.verify(revs, contents=contents)
 
 def cachelfiles(ui, repo, node, filelist=None):
@@ -394,7 +394,7 @@
             toget.append((lfile, expectedhash))
 
     if toget:
-        store = basestore._openstore(repo)
+        store = storefactory._openstore(repo)
         ret = store.get(toget)
         return ret