BUG=
R=machenbach@chromium.org
Review URL: https://codereview.chromium.org/
603113002
git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24222
ce2b1a6d-e550-0410-aec6-
3dcde31c8c00
self.DieNoManualMode("A reviewer must be specified in forced mode.")
reviewer = self.ReadLine()
self.GitUpload(reviewer, self._options.author, self._options.force_upload,
- bypass_hooks=self._options.bypass_upload_hooks)
+ bypass_hooks=self._options.bypass_upload_hooks,
+ cc=self._options.cc)
class DetermineV8Sheriff(Step):
self.Git(MakeArgs(args), **kwargs)
def GitUpload(self, reviewer="", author="", force=False, cq=False,
- bypass_hooks=False, **kwargs):
+ bypass_hooks=False, cc="", **kwargs):
args = ["cl upload --send-mail"]
if author:
args += ["--email", Quoted(author)]
args.append("--use-commit-queue")
if bypass_hooks:
args.append("--bypass-hooks")
+ if cc:
+ args += ["-cc", Quoted(cc)]
# TODO(machenbach): Check output in forced mode. Verify that all required
# base files were uploaded, if not retry.
self.Git(MakeArgs(args), pipe=False, **kwargs)
print "You must specify a merge comment if no patches are specified"
return False
options.bypass_upload_hooks = True
+ # CC ulan to make sure that fixes are merged to Google3.
+ options.cc = "ulan@chromium.org"
return True
def _Config(self):
Cmd("git commit -aF \"%s\"" % TEST_CONFIG["COMMITMSG_FILE"], ""),
RL("reviewer@chromium.org"), # V8 reviewer.
Cmd("git cl upload --send-mail -r \"reviewer@chromium.org\" "
- "--bypass-hooks", ""),
+ "--bypass-hooks -cc \"ulan@chromium.org\"", ""),
Cmd("git checkout -f %s" % TEST_CONFIG["BRANCHNAME"], ""),
RL("LGTM"), # Enter LGTM for V8 CL.
Cmd("git cl presubmit", "Presubmit successfull\n"),