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

Unified Diff: git_cl.py

Issue 199723003: Add an error message when explicitly specifying bots without specifying the master (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 9 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_cl.py
diff --git a/git_cl.py b/git_cl.py
index eaed4baf2291a4d8822987485ef91425df000e73..82d5a78abb6f5780fe0dafcca334cf03353e8a1a 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -2184,6 +2184,10 @@ def CMDtry(parser, args):
if not options.name:
options.name = cl.GetBranch()
+ if options.bot and not options.master:
+ parser.error('For manually specified bots please also specify the '
+ 'tryserver master, e.g. "-m tryserver.chromium".')
+
def GetMasterMap():
# Process --bot and --testfilter.
if not options.bot:
« 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