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

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

Issue 2233773002: recipe_autoroller: pass --rietveld to git cl set-commit to match upload (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/previously_uploaded_match.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 af74590768dfd1be1ff6afbec9584aeb836e5d5e..c5f7d880cbb675bc1a662674691e6f045414d6d2 100644
--- a/recipes/recipe_modules/recipe_autoroller/api.py
+++ b/recipes/recipe_modules/recipe_autoroller/api.py
@@ -238,7 +238,8 @@ class RecipeAutorollerApi(recipe_api.RecipeApi):
elif roll_result['trivial']:
# We won't be uploading. Make sure trivial rolls don't get stuck
# if previous CQ attempt failed because of flake.
- self.m.git('cl', 'set-commit', cwd=workdir)
+ # Pass --rietveld flag to match upload args below.
+ self.m.git('cl', 'set-commit', '--rietveld', cwd=workdir)
if need_to_upload:
commit_message = (
« no previous file with comments | « no previous file | recipes/recipes/recipe_autoroller.expected/previously_uploaded_match.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698