Keep chromium checkout up to date in auto roller.

R=hinoka@google.com

Review URL: https://codereview.chromium.org/504443005

git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@23438 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent 7b784109
...@@ -72,7 +72,7 @@ class UpdateChromiumCheckout(Step): ...@@ -72,7 +72,7 @@ class UpdateChromiumCheckout(Step):
def RunStep(self): def RunStep(self):
os.chdir(self["chrome_path"]) os.chdir(self["chrome_path"])
self.GitCheckout("master") self.GitCheckout("master")
self.GitPull() self._side_effect_handler.Command("gclient", "sync --no-hooks")
self.GitCreateBranch("v8-roll-%s" % self["trunk_revision"]) self.GitCreateBranch("v8-roll-%s" % self["trunk_revision"])
......
...@@ -368,6 +368,7 @@ class ScriptTest(unittest.TestCase): ...@@ -368,6 +368,7 @@ class ScriptTest(unittest.TestCase):
print "Log: %s %s" % (cmd, args) print "Log: %s %s" % (cmd, args)
MOCKS = { MOCKS = {
"gclient": GitMock, # TODO(machenbach): Yet another hack. Unify all mocks.
"git": GitMock, "git": GitMock,
"roll-dep": GitMock, # TODO(machenbach): Yet another hack. Unify all mocks. "roll-dep": GitMock, # TODO(machenbach): Yet another hack. Unify all mocks.
# TODO(machenbach): Little hack to reuse the git mock for the one svn call # TODO(machenbach): Little hack to reuse the git mock for the one svn call
...@@ -853,7 +854,7 @@ def get_list(): ...@@ -853,7 +854,7 @@ def get_list():
"Version 3.22.5 (based on bleeding_edge revision r123454)\n"), "Version 3.22.5 (based on bleeding_edge revision r123454)\n"),
Git("status -s -uno", ""), Git("status -s -uno", ""),
Git("checkout -f master", ""), Git("checkout -f master", ""),
Git("pull", ""), Git("sync --no-hooks", "syncing..."),
Git("checkout -b v8-roll-123455", ""), Git("checkout -b v8-roll-123455", ""),
Git("v8 123455", "rolled", cb=WriteDeps), Git("v8 123455", "rolled", cb=WriteDeps),
Git(("commit -am \"Update V8 to version 3.22.5 " Git(("commit -am \"Update V8 to version 3.22.5 "
......
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