[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}
This commit is contained in:
machenbach 2015-05-23 12:24:37 -07:00 committed by Commit bot
parent 5116cbf10e
commit 8712d032e7
2 changed files with 3 additions and 2 deletions

View File

@ -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 = []

View File

@ -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),