Add an error message when explicitly specifying bots without specifying the master

BUG=352029

Review URL: https://codereview.chromium.org/199723003

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@256972 0039d316-1c4b-4281-b951-d872f2087c98
parent 7f1e6449
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment