Mercurial > public > mercurial-scm > hg
diff hgext/largefiles/lfcommands.py @ 29355:85868ecf2c0d
largefiles: make storefactory._openstore public
In storefactory opening store is the main functionality,
so it shouldn't be marked as private with underscore.
author | liscju <piotr.listkiewicz@gmail.com> |
---|---|
date | Tue, 14 Jun 2016 11:21:41 +0200 |
parents | 0d83ad967bf8 |
children | c01acee367ec |
line wrap: on
line diff
--- a/hgext/largefiles/lfcommands.py Mon Jun 13 23:50:26 2016 +0200 +++ b/hgext/largefiles/lfcommands.py Tue Jun 14 11:21:41 2016 +0200 @@ -356,7 +356,7 @@ if not files: return - store = storefactory._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)) @@ -387,7 +387,7 @@ else: revs = ['.'] - store = storefactory._openstore(repo) + store = storefactory.openstore(repo) return store.verify(revs, contents=contents) def cachelfiles(ui, repo, node, filelist=None): @@ -413,7 +413,7 @@ toget.append((lfile, expectedhash)) if toget: - store = storefactory._openstore(repo) + store = storefactory.openstore(repo) ret = store.get(toget) return ret