--- a/hgext/largefiles/localstore.py Fri Aug 31 23:27:26 2012 +0200
+++ b/hgext/largefiles/localstore.py Tue Aug 14 22:38:25 2012 -0400
@@ -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):