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

Unified Diff: commit_queue.py

Issue 106043002: Add ability to point to local rietveld. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/commit-queue.git@master
Patch Set: Created 7 years 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: commit_queue.py
diff --git a/commit_queue.py b/commit_queue.py
index 4f8b9ca665018e3bda1e9b0460344448102c0a7f..8bb63acca00fb18d564e6f7449b9ec0e210aeb71 100755
--- a/commit_queue.py
+++ b/commit_queue.py
@@ -198,6 +198,10 @@ def main():
'--user',
default='commit-bot@chromium.org',
help='User to use instead of %default')
+ parser.add_option(
+ '--rietveld',
+ default='https://codereview.chromium.org',
+ help='Rietveld server to use instead of %default')
options, args = parser.parse_args()
if args:
parser.error('Unsupported args: %s' % args)
@@ -212,7 +216,7 @@ def main():
checkout.SvnMixIn.svn_config = checkout.SvnConfig(
os.path.join(ROOT_DIR, 'subversion_config'))
- url = 'https://codereview.chromium.org'
+ url = options.rietveld
gaia_creds = creds.Credentials(os.path.join(work_dir, '.gaia_pwd'))
if options.dry_run:
logging.debug('Dry run - skipping SCM check.')
« 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