MESSAGE = "Detect commit ID of last push to trunk."
def RunStep(self):
- self["last_push"] = self._options.last_push or self.FindLastTrunkPush()
+ self["last_push"] = self._options.last_push or self.FindLastTrunkPush(
+ include_patches=True)
self["trunk_revision"] = self.GitSVNFindSVNRev(self["last_push"])
self["push_title"] = self.GitLog(n=1, format="%s",
git_hash=self["last_push"])
deps)
TextToFile(deps, self.Config(DEPS_FILE))
- if self._options.reviewer:
+ if self._options.reviewer and not self._options.manual:
print "Using account %s for review." % self._options.reviewer
rev = self._options.reviewer
else:
rev = self.ReadLine()
commit_title = "Update V8 to %s." % self["push_title"].lower()
- self.GitCommit("%s\n\nTBR=%s" % (commit_title, rev))
+ sheriff = ""
+ if self["sheriff"]:
+ sheriff = ("\n\nPlease reply to the V8 sheriff %s in case of problems."
+ % self["sheriff"])
+ self.GitCommit("%s%s\n\nTBR=%s" % (commit_title, sheriff, rev))
self.GitUpload(author=self._options.author,
force=self._options.force_upload)
print "CL uploaded."
Preparation,
DetectLastPush,
CheckChromium,
+ DetermineV8Sheriff,
SwitchChromium,
UpdateChromiumCheckout,
UploadCL,