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
changes/01/332501/1
jrobbins@chromium.org 11 years ago
parent c8444f3a2d
commit c31e84e1a0

@ -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:

Loading…
Cancel
Save