Index: tools/release/auto_roll.py |
diff --git a/tools/release/auto_roll.py b/tools/release/auto_roll.py |
index f7692cf6f9775681a9afdb6c13d82c60bb874044..72fdbc55dd8753f8a8ef254ab825ce9346a0a0a8 100755 |
--- a/tools/release/auto_roll.py |
+++ b/tools/release/auto_roll.py |
@@ -48,6 +48,10 @@ class DetectLastRoll(Step): |
max_age=self._options.max_age * DAY_IN_SECONDS) |
assert revisions, "Didn't find any recent release." |
+ # Update Chromium checkout before DEPS check to fix possible race-condition |
+ cwd = self._options.chromium |
+ self.GitPull(cwd=cwd) |
Michael Achenbach
2015/06/18 19:41:27
nit: maybe inline cwd as it's single use and doesn
|
+ |
# Interpret the DEPS file to retrieve the v8 revision. |
# TODO(machenbach): This should be part or the roll-deps api of |
# depot_tools. |