hgext/largefiles/localstore.py
changeset 17439 fbb732a8f2b9
parent 17424 e7cfe3587ea4
parent 17411 a02e36568e88
child 18155 5206af8894a3
--- a/hgext/largefiles/localstore.py	Tue Sep 04 13:49:10 2012 -0700
+++ b/hgext/largefiles/localstore.py	Tue Sep 04 13:50:50 2012 -0700
@@ -33,8 +33,12 @@
         lfutil.link(lfutil.storepath(self.repo, hash),
                 lfutil.storepath(self.remote, hash))
 
-    def exists(self, hash):
-        return lfutil.instore(self.remote, hash)
+    def exists(self, hashes):
+        retval = {}
+        for hash in hashes:
+            retval[hash] = lfutil.instore(self.remote, hash)
+        return retval
+
 
     def _getfile(self, tmpfile, filename, hash):
         if lfutil.instore(self.remote, hash):