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

Side by Side Diff: commit_queue.py

Issue 23875051: Update CQ script to use codereview.chromium.org instead of appspot. (Closed) Base URL: svn://chrome-svn/chrome/trunk/tools/commit-queue/
Patch Set: Created 7 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 unified diff | Download patch | Annotate | Revision Log
« 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/env python 1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 """Commit queue executable. 5 """Commit queue executable.
6 6
7 Reuse Rietveld and the Chromium Try Server to process and automatically commit 7 Reuse Rietveld and the Chromium Try Server to process and automatically commit
8 patches. 8 patches.
9 """ 9 """
10 10
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 parser.error('Need to pass a valid project to --project.\nOptions are: %s' % 207 parser.error('Need to pass a valid project to --project.\nOptions are: %s' %
208 ', '.join(project_choices)) 208 ', '.join(project_choices))
209 209
210 SetupLogging(options) 210 SetupLogging(options)
211 try: 211 try:
212 work_dir = os.path.join(ROOT_DIR, 'workdir') 212 work_dir = os.path.join(ROOT_DIR, 'workdir')
213 # Use our specific subversion config. 213 # Use our specific subversion config.
214 checkout.SvnMixIn.svn_config = checkout.SvnConfig( 214 checkout.SvnMixIn.svn_config = checkout.SvnConfig(
215 os.path.join(ROOT_DIR, 'subversion_config')) 215 os.path.join(ROOT_DIR, 'subversion_config'))
216 216
217 url = 'https://chromiumcodereview.appspot.com' 217 url = 'https://codereview.chromium.org'
218 gaia_creds = creds.Credentials(os.path.join(work_dir, '.gaia_pwd')) 218 gaia_creds = creds.Credentials(os.path.join(work_dir, '.gaia_pwd'))
219 if options.dry_run: 219 if options.dry_run:
220 logging.debug('Dry run - skipping SCM check.') 220 logging.debug('Dry run - skipping SCM check.')
221 if options.only_issue: 221 if options.only_issue:
222 print( 222 print(
223 'Using read-only Rietveld; using only issue %d' % 223 'Using read-only Rietveld; using only issue %d' %
224 options.only_issue) 224 options.only_issue)
225 else: 225 else:
226 print('Using read-only Rietveld') 226 print('Using read-only Rietveld')
227 # Make sure rietveld is not modified. 227 # Make sure rietveld is not modified.
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 return 23 353 return 23
354 except errors.ConfigurationError as e: 354 except errors.ConfigurationError as e:
355 parser.error(str(e)) 355 parser.error(str(e))
356 return 1 356 return 1
357 return 0 357 return 0
358 358
359 359
360 if __name__ == '__main__': 360 if __name__ == '__main__':
361 fix_encoding.fix_encoding() 361 fix_encoding.fix_encoding()
362 sys.exit(main()) 362 sys.exit(main())
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