Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(73)

Unified Diff: tools/release/test_scripts.py

Issue 1077633002: [release-tools] Make chromium roll more robust after failing rolls. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« tools/release/chromium_roll.py ('K') | « tools/release/chromium_roll.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/release/test_scripts.py
diff --git a/tools/release/test_scripts.py b/tools/release/test_scripts.py
index 99f4339989f1aafe2c09fb31d2fa16cef8d2c214..bbbaee03e66e1895749764538ba6afb7c6df3c24 100644
--- a/tools/release/test_scripts.py
+++ b/tools/release/test_scripts.py
@@ -1014,10 +1014,11 @@ TBR=g_name@chromium.org,reviewer@chromium.org"""
"document.write('g_name')"),
Cmd("git status -s -uno", "", cwd=chrome_dir),
Cmd("git checkout -f master", "", cwd=chrome_dir),
+ Cmd("git branch", "", cwd=chrome_dir),
Cmd("gclient sync --nohooks", "syncing...", cwd=chrome_dir),
Cmd("git pull", "", cwd=chrome_dir),
Cmd("git fetch origin", ""),
- Cmd("git new-branch v8-roll-roll_hsh", "", cwd=chrome_dir),
+ Cmd("git new-branch work-branch", "", cwd=chrome_dir),
Cmd("roll-dep v8 roll_hsh", "rolled", cb=WriteDeps, cwd=chrome_dir),
Cmd(("git commit -am \"%s\" "
"--author \"author@chromium.org <author@chromium.org>\"" %
@@ -1025,6 +1026,8 @@ TBR=g_name@chromium.org,reviewer@chromium.org"""
"", cwd=chrome_dir),
Cmd("git cl upload --send-mail --email \"author@chromium.org\" -f", "",
cwd=chrome_dir),
+ Cmd("git checkout -f master", "", cwd=chrome_dir),
+ Cmd("git branch -D work-branch", "", cwd=chrome_dir),
]
self.Expect(expectations)
« tools/release/chromium_roll.py ('K') | « tools/release/chromium_roll.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698