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
parent 47ec7350
...@@ -43,7 +43,7 @@ class DetectLastPush(Step): ...@@ -43,7 +43,7 @@ class DetectLastPush(Step):
def RunStep(self): def RunStep(self):
push_hash = self.FindLastTrunkPush( push_hash = self.FindLastTrunkPush(
branch="origin/master", include_patches=True) branch="origin/candidates", include_patches=True)
self["last_push"] = self.GetCommitPositionNumber(push_hash) self["last_push"] = self.GetCommitPositionNumber(push_hash)
......
...@@ -23,7 +23,7 @@ class DetectLastPush(Step): ...@@ -23,7 +23,7 @@ class DetectLastPush(Step):
def RunStep(self): def RunStep(self):
self["last_push"] = self._options.last_push or self.FindLastTrunkPush( 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["trunk_revision"] = self.GetCommitPositionNumber(self["last_push"])
self["push_title"] = self.GitLog(n=1, format="%s", self["push_title"] = self.GitLog(n=1, format="%s",
git_hash=self["last_push"]) git_hash=self["last_push"])
......
...@@ -867,7 +867,7 @@ def get_list(): ...@@ -867,7 +867,7 @@ def get_list():
Cmd("git fetch origin", ""), Cmd("git fetch origin", ""),
Cmd(("git log -1 --format=%H --grep=" Cmd(("git log -1 --format=%H --grep="
"\"^Version [[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*\" " "\"^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 push_hash", self.C_V8_22624_LOG),
Cmd("git log -1 --format=%s push_hash", Cmd("git log -1 --format=%s push_hash",
"Version 3.22.5 (based on bleeding_edge revision r22622)\n"), "Version 3.22.5 (based on bleeding_edge revision r22622)\n"),
...@@ -1005,7 +1005,7 @@ deps = { ...@@ -1005,7 +1005,7 @@ deps = {
("{\"results\": [{\"subject\": \"different\"}]}")), ("{\"results\": [{\"subject\": \"different\"}]}")),
Cmd(("git log -1 --format=%H --grep=" Cmd(("git log -1 --format=%H --grep="
"\"^Version [[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*\" " "\"^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 push_hash", self.C_V8_22624_LOG),
Cmd("git log -1 --format=%B abcd123455", self.C_V8_123455_LOG), Cmd("git log -1 --format=%B abcd123455", self.C_V8_123455_LOG),
]) ])
...@@ -1026,7 +1026,7 @@ deps = { ...@@ -1026,7 +1026,7 @@ deps = {
("{\"results\": [{\"subject\": \"different\"}]}")), ("{\"results\": [{\"subject\": \"different\"}]}")),
Cmd(("git log -1 --format=%H --grep=" Cmd(("git log -1 --format=%H --grep="
"\"^Version [[:digit:]]*\.[[:digit:]]*\.[[:digit:]]*\" " "\"^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 push_hash", self.C_V8_123456_LOG),
Cmd("git log -1 --format=%B abcd123455", self.C_V8_123455_LOG), Cmd("git log -1 --format=%B abcd123455", self.C_V8_123455_LOG),
]) ])
......
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