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

Unified Diff: scripts/common/chromium_utils.py

Issue 157073002: Bot update! (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: We dont' actually want to run on chromium.linux yet Created 6 years, 10 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 | scripts/slave/bot_update.py » ('j') | scripts/slave/bot_update.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/common/chromium_utils.py
diff --git a/scripts/common/chromium_utils.py b/scripts/common/chromium_utils.py
index 8dc99953232fa102b82125a086a3d7ad944ad5bc..426f4d65ebfdb1deab395dda6b9a2d53c72d6286 100644
--- a/scripts/common/chromium_utils.py
+++ b/scripts/common/chromium_utils.py
@@ -407,6 +407,11 @@ def RemoveDirectory(*path):
if not os.path.exists(file_path):
return
+ if os.path.isfile(os.path.join(file_path, 'update.flag')):
+ print 'update.flag file found. This means "bot update" ran and acquired'
+ print 'a git checkout already. Skipping this step.'
agable 2014/02/07 04:47:40 Not sure I like this phrasing. Maybe "update.flag
Ryan Tseng 2014/02/07 21:23:07 Done.
+ return
+
if sys.platform == 'win32':
# Give up and use cmd.exe's rd command.
file_path = os.path.normcase(file_path)
« no previous file with comments | « no previous file | scripts/slave/bot_update.py » ('j') | scripts/slave/bot_update.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698