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

Unified Diff: tools/autoroller/roll_chromium_revision.py

Issue 1173523003: Auto-roll script: Add dirty tree check and git pull (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/autoroller/roll_chromium_revision.py
diff --git a/tools/autoroller/roll_chromium_revision.py b/tools/autoroller/roll_chromium_revision.py
index 57937ed82ee3e6042245524bd3271a9bd940b433..4dd7809b066e931216abf7d43da3f6f432e55922 100755
--- a/tools/autoroller/roll_chromium_revision.py
+++ b/tools/autoroller/roll_chromium_revision.py
@@ -298,6 +298,8 @@ def _CreateRollBranch(dry_run):
if not dry_run:
sys.exit(-1)
+ logging.info('Updating master branch...')
+ _RunCommand(['git', 'pull'])
pbos-webrtc 2015/06/09 09:34:31 Do you want to do this under a dry run? Also is th
kjellander_webrtc 2015/06/09 10:51:04 I thought it shouldn't never hurt your checkout to
logging.info('Creating roll branch: %s', ROLL_BRANCH_NAME)
if not dry_run:
_RunCommand(['git', 'checkout', '-b', ROLL_BRANCH_NAME])
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698