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

Unified Diff: gclient_scm.py

Issue 1050853002: gclient: Add '--no-bootstrap' sync option. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Period in help message Created 5 years, 9 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 | « gclient.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient_scm.py
diff --git a/gclient_scm.py b/gclient_scm.py
index 24064f92b8814e39f418fbe4307ca7f51ed66700..c6e9b68964134efb8ae703b367fed2b2fc72d1ba 100644
--- a/gclient_scm.py
+++ b/gclient_scm.py
@@ -851,7 +851,9 @@ class GitWrapper(SCMWrapper):
depth = 10000
else:
depth = None
- mirror.populate(verbose=options.verbose, bootstrap=True, depth=depth,
+ mirror.populate(verbose=options.verbose,
+ bootstrap=not getattr(options, 'no_bootstrap', False),
+ depth=depth,
ignore_lock=getattr(options, 'ignore_locks', False))
mirror.unlock()
« no previous file with comments | « gclient.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698