mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
prefetch: remove check misses after fetching from server
Summary: We don't really need to check misses here as neither of request fucnctions return misses after fetching from the server. They raise exception if there are any misses. Differential Revision: D13908252 fbshipit-source-id: 80b6e4fb79b419b5e6d3b343b3bd46d3f8dc7d3c
This commit is contained in:
parent
996ac6da37
commit
562b9d1884
@ -845,9 +845,7 @@ class fileserverclient(object):
|
||||
|
||||
start = time.time()
|
||||
with self.ui.timesection("fetchingfiles"):
|
||||
missingids = self.request(missingids)
|
||||
if missingids:
|
||||
raise error.Abort(_("unable to download %d files") % len(missingids))
|
||||
self.request(missingids)
|
||||
fetchcost += time.time() - start
|
||||
if not batchlfsdownloads and dolfsprefetch:
|
||||
self._lfsprefetch(fileids)
|
||||
|
Loading…
Reference in New Issue
Block a user