hgext/largefiles/localstore.py
changeset 24630 c082a4756ed7
parent 19007 266b5fb72f26
child 27769 40bd01be5c25
--- a/hgext/largefiles/localstore.py	Sat Apr 04 19:31:40 2015 -0400
+++ b/hgext/largefiles/localstore.py	Sat Apr 04 19:34:36 2015 -0400
@@ -55,9 +55,9 @@
             return False
 
         expecthash = fctx.data()[0:40]
-        storepath = lfutil.storepath(self.remote, expecthash)
+        storepath, exists = lfutil.findstorepath(self.remote, expecthash)
         verified.add(key)
-        if not lfutil.instore(self.remote, expecthash):
+        if not exists:
             self.ui.warn(
                 _('changeset %s: %s references missing %s\n')
                 % (cset, filename, storepath))