Commit 8712d032 authored by machenbach's avatar machenbach Committed by Commit bot

[release-tools] Fix auto-roller after depot tools change.

BUG=chromium:491581
LOG=n
NOTRY=true
TBR=hablich@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#28604}
parent 5116cbf1
......@@ -77,7 +77,8 @@ class UploadCL(Step):
def RunStep(self):
cwd = self._options.chromium
# Patch DEPS file.
if self.Command("roll-dep", "v8 %s" % self._options.roll, cwd=cwd) is None:
if self.Command("roll-dep-svn", "v8 %s" %
self._options.roll, cwd=cwd) is None:
self.Die("Failed to create deps for %s" % self._options.roll)
message = []
......
......@@ -1019,7 +1019,7 @@ TBR=g_name@chromium.org,reviewer@chromium.org"""
Cmd("git pull", "", cwd=chrome_dir),
Cmd("git fetch origin", ""),
Cmd("git new-branch work-branch", "", cwd=chrome_dir),
Cmd("roll-dep v8 roll_hsh", "rolled", cb=WriteDeps, cwd=chrome_dir),
Cmd("roll-dep-svn v8 roll_hsh", "rolled", cb=WriteDeps, cwd=chrome_dir),
Cmd(("git commit -am \"%s\" "
"--author \"author@chromium.org <author@chromium.org>\"" %
self.ROLL_COMMIT_MSG),
......
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