hgext/lfs/blobstore.py
changeset 35694 8a23082f4d93
parent 35666 2c6ebd0c850e
child 35695 dd672e3d059f
equal deleted inserted replaced
35693:1880a0bdfc5e 35694:8a23082f4d93
   228         return response
   228         return response
   229 
   229 
   230     def _checkforservererror(self, pointers, responses, action):
   230     def _checkforservererror(self, pointers, responses, action):
   231         """Scans errors from objects
   231         """Scans errors from objects
   232 
   232 
   233         Returns LfsRemoteError if any objects has an error"""
   233         Raises LfsRemoteError if any objects have an error"""
   234         for response in responses:
   234         for response in responses:
   235             # The server should return 404 when objects cannot be found. Some
   235             # The server should return 404 when objects cannot be found. Some
   236             # server implementation (ex. lfs-test-server)  does not set "error"
   236             # server implementation (ex. lfs-test-server)  does not set "error"
   237             # but just removes "download" from "actions". Treat that case
   237             # but just removes "download" from "actions". Treat that case
   238             # as the same as 404 error.
   238             # as the same as 404 error.