hgext/largefiles/localstore.py
changeset 29409 d2c375071d16
parent 29310 f89f83c8393a
child 29421 ecbbf4d56ee8
equal deleted inserted replaced
29408:785cadec2091 29409:d2c375071d16
    34         retval = {}
    34         retval = {}
    35         for hash in hashes:
    35         for hash in hashes:
    36             retval[hash] = lfutil.instore(self.remote, hash)
    36             retval[hash] = lfutil.instore(self.remote, hash)
    37         return retval
    37         return retval
    38 
    38 
    39 
       
    40     def _getfile(self, tmpfile, filename, hash):
    39     def _getfile(self, tmpfile, filename, hash):
    41         path = lfutil.findfile(self.remote, hash)
    40         path = lfutil.findfile(self.remote, hash)
    42         if not path:
    41         if not path:
    43             raise basestore.StoreError(filename, hash, self.url,
    42             raise basestore.StoreError(filename, hash, self.url,
    44                 _("can't get file locally"))
    43                 _("can't get file locally"))