Fix auto roll after switching v8 mirror.
BUG=chromium:411835 LOG=n TBR=tandrii@chromium.org Review URL: https://codereview.chromium.org/606553003 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@24216 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
47ec735026
commit
f01dffa835
@ -43,7 +43,7 @@ class DetectLastPush(Step):
|
||||
|
||||
def RunStep(self):
|
||||
push_hash = self.FindLastTrunkPush(
|
||||
branch="origin/master", include_patches=True)
|
||||
branch="origin/candidates", include_patches=True)
|
||||
self["last_push"] = self.GetCommitPositionNumber(push_hash)
|
||||
|
||||
|
||||
|
@ -23,7 +23,7 @@ class DetectLastPush(Step):
|
||||
|
||||
def RunStep(self):
|
||||
self["last_push"] = self._options.last_push or self.FindLastTrunkPush(
|
||||
branch="origin/master", include_patches=True)
|
||||
branch="origin/candidates", include_patches=True)
|
||||
self["trunk_revision"] = self.GetCommitPositionNumber(self["last_push"])
|
||||
self["push_title"] = self.GitLog(n=1, format="%s",
|
||||
git_hash=self["last_push"])
|
||||
|
@ -867,7 +867,7 @@ def get_list():
|
||||
Cmd("git fetch origin", ""),
|
||||
Cmd(("git log -1 --format=%H --grep="
|
||||
"\"^Version [[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*\" "
|
||||
"origin/master"), "push_hash\n"),
|
||||
"origin/candidates"), "push_hash\n"),
|
||||
Cmd("git log -1 --format=%B push_hash", self.C_V8_22624_LOG),
|
||||
Cmd("git log -1 --format=%s push_hash",
|
||||
"Version 3.22.5 (based on bleeding_edge revision r22622)\n"),
|
||||
@ -1005,7 +1005,7 @@ deps = {
|
||||
("{\"results\": [{\"subject\": \"different\"}]}")),
|
||||
Cmd(("git log -1 --format=%H --grep="
|
||||
"\"^Version [[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*\" "
|
||||
"origin/master"), "push_hash\n"),
|
||||
"origin/candidates"), "push_hash\n"),
|
||||
Cmd("git log -1 --format=%B push_hash", self.C_V8_22624_LOG),
|
||||
Cmd("git log -1 --format=%B abcd123455", self.C_V8_123455_LOG),
|
||||
])
|
||||
@ -1026,7 +1026,7 @@ deps = {
|
||||
("{\"results\": [{\"subject\": \"different\"}]}")),
|
||||
Cmd(("git log -1 --format=%H --grep="
|
||||
"\"^Version [[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*\" "
|
||||
"origin/master"), "push_hash\n"),
|
||||
"origin/candidates"), "push_hash\n"),
|
||||
Cmd("git log -1 --format=%B push_hash", self.C_V8_123456_LOG),
|
||||
Cmd("git log -1 --format=%B abcd123455", self.C_V8_123455_LOG),
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user