Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(266)

Unified Diff: recipes/recipe_modules/recipe_autoroller/api.py

Issue 2212353002: recipe_autoroller: use git cache (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | recipes/recipes/recipe_autoroller.expected/basic.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: recipes/recipe_modules/recipe_autoroller/api.py
diff --git a/recipes/recipe_modules/recipe_autoroller/api.py b/recipes/recipe_modules/recipe_autoroller/api.py
index 4a8defd9c5e019677ed7161294330cd27d32f2c8..84e9f84d354f899f4386ded8bc7f8460c1906ea4 100644
--- a/recipes/recipe_modules/recipe_autoroller/api.py
+++ b/recipes/recipe_modules/recipe_autoroller/api.py
@@ -163,7 +163,8 @@ class RecipeAutorollerApi(recipe_api.RecipeApi):
def _roll_project(self, project_data, recipes_dir):
with self.m.tempfile.temp_dir('roll_%s' % project_data['id']) as workdir:
self.m.git.checkout(
- project_data['repo_url'], dir_path=workdir, submodules=False)
+ project_data['repo_url'], dir_path=workdir, submodules=False,
+ use_git_cache=True)
# Introduce ourselves to git - also needed for git cl upload to work.
self.m.git(
« no previous file with comments | « no previous file | recipes/recipes/recipe_autoroller.expected/basic.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698