|
@@ -181,6 +181,9 @@ Gerrit Code Review: https://www.gerritcodereview.com/
|
|
|
type='string', action='store', dest='dest_branch',
|
|
type='string', action='store', dest='dest_branch',
|
|
|
metavar='BRANCH',
|
|
metavar='BRANCH',
|
|
|
help='Submit for review on this target branch.')
|
|
help='Submit for review on this target branch.')
|
|
|
|
|
+ p.add_option('-n', '--dry-run',
|
|
|
|
|
+ dest='dryrun', default=False, action='store_true',
|
|
|
|
|
+ help='Do everything except actually upload the CL.')
|
|
|
p.add_option('--no-cert-checks',
|
|
p.add_option('--no-cert-checks',
|
|
|
dest='validate_certs', action='store_false', default=True,
|
|
dest='validate_certs', action='store_false', default=True,
|
|
|
help='Disable verifying ssl certs (unsafe).')
|
|
help='Disable verifying ssl certs (unsafe).')
|
|
@@ -423,6 +426,7 @@ Gerrit Code Review: https://www.gerritcodereview.com/
|
|
|
continue
|
|
continue
|
|
|
|
|
|
|
|
branch.UploadForReview(people,
|
|
branch.UploadForReview(people,
|
|
|
|
|
+ dryrun=opt.dryrun,
|
|
|
auto_topic=opt.auto_topic,
|
|
auto_topic=opt.auto_topic,
|
|
|
hashtags=hashtags,
|
|
hashtags=hashtags,
|
|
|
draft=opt.draft,
|
|
draft=opt.draft,
|