Commit f340d1d6 authored by chase@chromium.org's avatar chase@chromium.org

Only set --cc when it's the first upload.

BUG=none
TEST=second git-cl upload of a CL doesn't set CC again
Review URL: http://codereview.chromium.org/6546042

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@75531 0039d316-1c4b-4281-b951-d872f2087c98
parent 450e50d7
......@@ -751,7 +751,6 @@ def CMDupload(parser, args):
upload_args.extend(['--server', cl.GetRietveldServer()])
if options.reviewers:
upload_args.extend(['--reviewers', options.reviewers])
upload_args.extend(['--cc', settings.GetCCList()])
if options.emulate_svn_auto_props:
upload_args.append('--emulate_svn_auto_props')
if options.send_mail:
......@@ -794,6 +793,7 @@ def CMDupload(parser, args):
return 1
upload_args.extend(['--message', subject])
upload_args.extend(['--description', change_desc])
upload_args.extend(['--cc', settings.GetCCList()])
# Include the upstream repo's URL in the change -- this is useful for
# projects that have their source spread across multiple repos.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment