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.') |