--- a/hgext/largefiles/overrides.py Thu Jun 02 22:39:01 2016 +0100
+++ b/hgext/largefiles/overrides.py Sat Jun 04 16:53:44 2016 +0200
@@ -17,7 +17,7 @@
import lfutil
import lfcommands
-import basestore
+import storefactory
# -- Utility functions: commonly/repeatedly needed functionality ---------------
@@ -1109,7 +1109,7 @@
lfhashes.add(lfhash)
lfutil.getlfilestoupload(repo, missing, dedup)
if lfhashes:
- lfexists = basestore._openstore(repo, other).exists(lfhashes)
+ lfexists = storefactory._openstore(repo, other).exists(lfhashes)
for fn, lfhash in knowns:
if not lfexists[lfhash]: # lfhash doesn't exist on "other"
addfunc(fn, lfhash)
@@ -1338,7 +1338,7 @@
else:
hash = lfutil.readstandin(repo, lf, ctx.rev())
if not lfutil.inusercache(repo.ui, hash):
- store = basestore._openstore(repo)
+ store = storefactory._openstore(repo)
success, missing = store.get([(lf, hash)])
if len(success) != 1:
raise error.Abort(