diff --git a/recipe_modules/bot_update/resources/bot_update.py b/recipe_modules/bot_update/resources/bot_update.py index b87050ae2..567678428 100755 --- a/recipe_modules/bot_update/resources/bot_update.py +++ b/recipe_modules/bot_update/resources/bot_update.py @@ -679,7 +679,7 @@ def apply_gerrit_ref(gerrit_repo, gerrit_ref, root, gerrit_reset, ok = False git('checkout', '-b', temp_branch_name, cwd=root) try: - git('rebase', base_rev, cwd=root) + git('rebase', base_rev, cwd=root, tries=1) except SubprocessFailed: # Abort the rebase since there were failures. git('rebase', '--abort', cwd=root)