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

Unified Diff: gclient.py

Issue 1650993005: Allow blocking git-cache update with a timeout. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: nit Created 4 years, 11 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 00bb95d7043c4ac5c76bb5f24099930a4d7cb077..507721f6ffcbb0db9cfd0d0e23abc4f255599e2d 100755
--- a/gclient.py
+++ b/gclient.py
@@ -2049,6 +2049,9 @@ def CMDsync(parser, args):
help='Don\'t bootstrap from Google Storage.')
parser.add_option('--ignore_locks', action='store_true',
help='GIT ONLY - Ignore cache locks.')
+ parser.add_option('--lock_timeout', type='int', default=0,
+ help='GIT ONLY - Deadline (in seconds) to wait for git '
+ 'cache lock to become available.')
(options, args) = parser.parse_args(args)
client = GClient.LoadCurrentConfig(options)
« 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