diff -r 207c0db08953 -r 305f9c36a0f5 hgext/largefiles/remotestore.py --- a/hgext/largefiles/remotestore.py Tue May 03 23:31:32 2016 +0200 +++ b/hgext/largefiles/remotestore.py Tue May 03 23:48:31 2016 +0200 @@ -67,8 +67,11 @@ def _verifyfiles(self, contents, filestocheck): failed = False + expectedhashes = [expectedhash + for cset, filename, expectedhash in filestocheck] + stats = self._stat(expectedhashes) for cset, filename, expectedhash in filestocheck: - stat = self._stat([expectedhash])[expectedhash] + stat = stats[expectedhash] if stat: if stat == 1: self.ui.warn(