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

Unified Diff: gclient.py

Issue 180243006: Make gclient_scm.py use cache_dir (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Remove cache_locks, also more membership tests. 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 | gclient_scm.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient.py
diff --git a/gclient.py b/gclient.py
index e2491cef1d39b1a80e6c6fcb3ae25fab676696bc..1f23b92c5b947c13eb8674ee61aa782cb538c793 100755
--- a/gclient.py
+++ b/gclient.py
@@ -1829,7 +1829,9 @@ class OptionParser(optparse.OptionParser):
jobs = max(8, gclient_utils.NumLocalCpus())
# cmp: 2013/06/19
# Temporary workaround to lower bot-load on SVN server.
- if os.environ.get('CHROME_HEADLESS') == '1':
+ # Bypassed if a bot_update flag is detected.
+ if (os.environ.get('CHROME_HEADLESS') == '1' and
+ not os.path.exists('update.flag')):
jobs = 1
self.add_option(
« no previous file with comments | « no previous file | gclient_scm.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698