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

Unified Diff: git_cl.py

Issue 1895863002: Gerrit git cl: temporary disable cc option on upload. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/git_cl_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index cf1e2c91093d9d73a21982b9336e1ce757b6a7ed..d8fd642246aaff5e6f64f02b96b497517d4f74aa 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -2453,7 +2453,10 @@ class _GerritChangelistImpl(_ChangelistCodereviewBase):
cc.extend(options.cc)
cc = filter(None, cc)
if cc:
- refspec_opts.extend('cc=' + email.strip() for email in cc)
+ # refspec_opts.extend('cc=' + email.strip() for email in cc)
+ # TODO(tandrii): enable this back. http://crbug.com/604377
+ print('WARNING: Gerrit doesn\'t yet support cc-ing arbitrary emails.\n'
+ ' Ignoring cc-ed emails. See http://crbug.com/604377.')
if change_desc.get_reviewers():
refspec_opts.extend('r=' + email.strip()
« no previous file with comments | « no previous file | tests/git_cl_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698