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

Unified Diff: git-try

Issue 278015: Allow specifying multiple bots with git-try.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/tools/depot_tools/
Patch Set: Created 11 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-try
===================================================================
--- git-try (revision 29074)
+++ git-try (working copy)
@@ -166,7 +166,7 @@
parser = optparse.OptionParser(
usage='git try [options] [branch]',
description='Upload the current diff of branch...HEAD to the try server.')
- parser.add_option("-b", "--bot",
+ parser.add_option("-b", "--bot", action="append",
help="Force the use of a specific build slave (eg mac, "
"win, or linux)")
parser.add_option("-c", "--clobber", action="store_true",
@@ -246,8 +246,8 @@
'svn://svn.chromium.org/chrome-try/try',
])
- if options.bot:
- args.extend(['--bot', options.bot])
+ for bot in options.bot:
+ args.extend(['--bot', bot])
if options.clobber:
args.append('--clobber')
if options.revision:
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698