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
+ self.GitPull(cwd=self._options.chromium)
+
# Interpret the DEPS file to retrieve the v8 revision.
# TODO(machenbach): This should be part or the roll-deps api of
# depot_tools.
Cmd("git describe --tags bad_tag", ""),
Cmd("git describe --tags hash_234", "3.22.4"),
Cmd("git describe --tags hash_123", "3.22.3"),
+ Cmd("git pull", "", cwd=TEST_CONFIG["CHROMIUM"]),
Cmd("git describe --tags abcd123455", "3.22.4"),
Cmd("git describe --tags hash_234", "3.22.4"),
Cmd("git describe --tags hash_123", "3.22.3"),
Cmd("git describe --tags bad_tag", ""),
Cmd("git describe --tags hash_234", "3.22.4"),
Cmd("git describe --tags hash_123", "3.22.3"),
+ Cmd("git pull", "", cwd=TEST_CONFIG["CHROMIUM"]),
Cmd("git describe --tags abcd123455", "3.22.3.1"),
Cmd("git describe --tags hash_234", "3.22.4"),
])