##// END OF EJS Templates
git/hg: skip double caching with bulk requests calls....
super-admin -
r1075:8fc1778b python3
parent child Browse files
Show More
@@ -324,6 +324,7 b' class GitRemote(RemoteBase):'
324 324 for attr in pre_load:
325 325 try:
326 326 method = self._bulk_methods[attr]
327 wire.update({'cache': False}) # disable cache for bulk calls so we don't double cache
327 328 args = [wire, rev]
328 329 result[attr] = method(*args)
329 330 except KeyError as e:
@@ -255,6 +255,7 b' class HgRemote(RemoteBase):'
255 255 for attr in pre_load:
256 256 try:
257 257 method = self._bulk_methods[attr]
258 wire.update({'cache': False}) # disable cache for bulk calls so we don't double cache
258 259 result[attr] = method(wire, commit_id)
259 260 except KeyError as e:
260 261 raise exceptions.VcsException(e)(
General Comments 0
You need to be logged in to leave comments. Login now