hgext/largefiles/overrides.py
changeset 29355 85868ecf2c0d
parent 29318 2572bb2e06f8
child 29420 e5c91dc909f7
--- a/hgext/largefiles/overrides.py	Mon Jun 13 23:50:26 2016 +0200
+++ b/hgext/largefiles/overrides.py	Tue Jun 14 11:21:41 2016 +0200
@@ -1123,7 +1123,7 @@
             lfhashes.add(lfhash)
     lfutil.getlfilestoupload(repo, missing, dedup)
     if lfhashes:
-        lfexists = storefactory._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)
@@ -1352,7 +1352,7 @@
         else:
             hash = lfutil.readstandin(repo, lf, ctx.rev())
             if not lfutil.inusercache(repo.ui, hash):
-                store = storefactory._openstore(repo)
+                store = storefactory.openstore(repo)
                 success, missing = store.get([(lf, hash)])
                 if len(success) != 1:
                     raise error.Abort(