Commit c31e84e1 authored by jrobbins@chromium.org's avatar jrobbins@chromium.org

Do not notify watchers about --private issues

BUG=382297

Review URL: https://codereview.chromium.org/341663004

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@278484 0039d316-1c4b-4281-b951-d872f2087c98
parent c8444f3a
......@@ -896,9 +896,11 @@ def CMDupload(change_info, args):
# CC_LIST only when --private is specified explicitly on the command
# line.
if "--private" in upload_arg:
Warn("WARNING: CC_LIST is ignored since private flag is specified. "
"You need to review and add them manually if necessary.")
Warn("WARNING: CC_LIST and WATCHLISTS are ignored when --private is "
"specified. You need to review and add them manually if "
"necessary.")
cc_list = ""
no_watchlists = True
else:
cc_list = GetCodeReviewSetting("CC_LIST")
if not no_watchlists and watchers:
......
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