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

Unified Diff: recipe_modules/bot_update/resources/apply_gerrit.py

Issue 2298883002: Make rebase and sync the default for Gerrit updates (Closed)
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
Index: recipe_modules/bot_update/resources/apply_gerrit.py
diff --git a/recipe_modules/bot_update/resources/apply_gerrit.py b/recipe_modules/bot_update/resources/apply_gerrit.py
index 7cfa20452d1a7b544a00949fa0a47cfa342ea0f9..5ef31d228495d623264b93a6ab09dad653f7bc97 100755
--- a/recipe_modules/bot_update/resources/apply_gerrit.py
+++ b/recipe_modules/bot_update/resources/apply_gerrit.py
@@ -18,8 +18,8 @@ if __name__ == '__main__':
parse.add_option('--root', help='The location of the checkout.')
parse.add_option('--gerrit_no_reset', action='store_true',
help='Bypass calling reset after applying a gerrit ref.')
- parse.add_option('--gerrit_rebase_patch_ref', action='store_true',
- help='Rebase Gerrit patch ref after of checking it out.')
+ parse.add_option('--gerrit_no_rebase_patch_ref', action='store_true',
+ help='Bypass rebase of Gerrit patch ref after checkout.')
options, _ = parse.parse_args()
@@ -29,5 +29,5 @@ if __name__ == '__main__':
options.gerrit_ref,
options.root,
not options.gerrit_no_reset,
- options.gerrit_rebase_patch_ref)
+ not options.gerrit_no_rebase_patch_ref)
)

Powered by Google App Engine
This is Rietveld 408576698