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

Side by Side Diff: tools/roll_deps.py

Issue 200203003: tools/roll_deps: add '-m tryserver.chromium' to git-cl-try (Closed) Base URL: https://skia.googlesource.com/skia.git@master
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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python2 1 #!/usr/bin/python2
2 2
3 # Copyright 2014 Google Inc. 3 # Copyright 2014 Google Inc.
4 # 4 #
5 # Use of this source code is governed by a BSD-style license that can be 5 # Use of this source code is governed by a BSD-style license that can be
6 # found in the LICENSE file. 6 # found in the LICENSE file.
7 7
8 """Skia's Chromium DEPS roll script. 8 """Skia's Chromium DEPS roll script.
9 9
10 This script: 10 This script:
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 358
359 vsp.check_call([git, 'commit', '-q', '-m', message]) 359 vsp.check_call([git, 'commit', '-q', '-m', message])
360 360
361 git_cl = [git, 'cl', 'upload', '-f', 361 git_cl = [git, 'cl', 'upload', '-f',
362 '--bypass-hooks', '--bypass-watchlists'] 362 '--bypass-hooks', '--bypass-watchlists']
363 if config.cc_list: 363 if config.cc_list:
364 git_cl.append('--cc=%s' % config.cc_list) 364 git_cl.append('--cc=%s' % config.cc_list)
365 if config.reviewers_list: 365 if config.reviewers_list:
366 git_cl.append('--reviewers=%s' % config.reviewers_list) 366 git_cl.append('--reviewers=%s' % config.reviewers_list)
367 367
368 git_try = [git, 'cl', 'try', '--revision', svn_info] 368 git_try = [
369 git, 'cl', 'try', '-m', 'tryserver.chromium', '--revision', svn_info]
369 git_try.extend([arg for bot in config.cl_bot_list for arg in ('-b', bot)]) 370 git_try.extend([arg for bot in config.cl_bot_list for arg in ('-b', bot)])
370 371
371 branch_name = git_utils.git_branch_name(vsp.verbose) 372 branch_name = git_utils.git_branch_name(vsp.verbose)
372 373
373 if config.skip_cl_upload: 374 if config.skip_cl_upload:
374 space = ' ' 375 space = ' '
375 print 'You should call:' 376 print 'You should call:'
376 print '%scd %s' % (space, os.getcwd()) 377 print '%scd %s' % (space, os.getcwd())
377 misc_utils.print_subprocess_args(space, [git, 'checkout', branch_name]) 378 misc_utils.print_subprocess_args(space, [git, 'checkout', branch_name])
378 misc_utils.print_subprocess_args(space, git_cl) 379 misc_utils.print_subprocess_args(space, git_cl)
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
532 if not git_utils.git_executable(): 533 if not git_utils.git_executable():
533 option_parser.error('Invalid git executable.') 534 option_parser.error('Invalid git executable.')
534 535
535 config = DepsRollConfig(options) 536 config = DepsRollConfig(options)
536 find_hash_and_roll_deps(config, options.revision, options.git_hash) 537 find_hash_and_roll_deps(config, options.revision, options.git_hash)
537 538
538 539
539 if __name__ == '__main__': 540 if __name__ == '__main__':
540 main(sys.argv[1:]) 541 main(sys.argv[1:])
541 542
OLDNEW
« 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