Commit 8e229546 authored by tandrii's avatar tandrii Committed by Commit bot

git cl try: --use-rietveld no longer supported.

R=nodir@chromium.org
BUG=

Review-Url: https://codereview.chromium.org/2399993004
parent f7b29d4a
...@@ -4656,7 +4656,7 @@ def CMDtry(parser, args): ...@@ -4656,7 +4656,7 @@ def CMDtry(parser, args):
# TODO(tandrii): get rid of this. # TODO(tandrii): get rid of this.
group.add_option( group.add_option(
'--use-rietveld', action='store_true', default=False, '--use-rietveld', action='store_true', default=False,
help='Use Rietveld to trigger try jobs.') help='DEPRECATED, NOT SUPPORTED.')
group.add_option( group.add_option(
'--buildbucket-host', default='cr-buildbucket.appspot.com', '--buildbucket-host', default='cr-buildbucket.appspot.com',
help='Host of buildbucket. The default host is %default.') help='Host of buildbucket. The default host is %default.')
...@@ -4665,8 +4665,8 @@ def CMDtry(parser, args): ...@@ -4665,8 +4665,8 @@ def CMDtry(parser, args):
options, args = parser.parse_args(args) options, args = parser.parse_args(args)
auth_config = auth.extract_auth_config_from_options(options) auth_config = auth.extract_auth_config_from_options(options)
if options.use_rietveld and options.properties: if options.use_rietveld:
parser.error('Properties can only be specified with buildbucket') parser.error('--use-rietveld is not longer supported.')
# Make sure that all properties are prop=value pairs. # Make sure that all properties are prop=value pairs.
bad_params = [x for x in options.properties if '=' not in x] bad_params = [x for x in options.properties if '=' not in x]
......
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