diff -r 5fe58f9332a4 -r 003730ca254d hgext/largefiles/remotestore.py --- a/hgext/largefiles/remotestore.py Fri Feb 08 07:09:48 2013 -0600 +++ b/hgext/largefiles/remotestore.py Fri Feb 08 13:00:08 2013 +0100 @@ -29,7 +29,7 @@ _('remotestore: put %s to remote store %s') % (source, self.url)) def exists(self, hashes): - return self._verify(hashes) + return dict((h, s == 0) for (h, s) in self._stat(hashes).iteritems()) def sendfile(self, filename, hash): self.ui.debug('remotestore: sendfile(%s, %s)\n' % (filename, hash)) @@ -76,9 +76,6 @@ infile = lfutil.limitreader(infile, length) return lfutil.copyandhash(lfutil.blockstream(infile), tmpfile) - def _verify(self, hashes): - return dict((h, s == 0) for (h, s) in self._stat(hashes).iteritems()) - def _verifyfile(self, cctx, cset, contents, standin, verified): filename = lfutil.splitstandin(standin) if not filename: