Index: tools/release/chromium_roll.py |
diff --git a/tools/release/chromium_roll.py b/tools/release/chromium_roll.py |
index e7cfe099a8e242b752831c94d719352cc42429c2..b7a31661ef14ea20a0ff66c3760dd9c6a7704556 100755 |
--- a/tools/release/chromium_roll.py |
+++ b/tools/release/chromium_roll.py |
@@ -19,11 +19,11 @@ class Preparation(Step): |
class DetectLastPush(Step): |
- MESSAGE = "Detect commit ID of last push to candidates." |
+ MESSAGE = "Detect commit ID of last release." |
def RunStep(self): |
- self["last_push"] = self._options.last_push or self.FindLastCandidatesPush( |
- branch="origin/candidates", include_patches=True) |
+ # The revision that should be rolled. |
+ self["last_push"] = self._options.last_push or self.GetLatestRelease() |
self["push_title"] = self.GitLog(n=1, format="%s", |
git_hash=self["last_push"]) |