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) |