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

Unified Diff: gclient_scm.py

Issue 497293002: Don't freak out if 'ignore_locks' options is not set. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 4 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 | 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 97495fbb9bb97f48cb80df9791ba6ba38cd2f0e9..439bc6b116b5bdc1d73f6bc78e8c89bec2892703 100644
--- a/gclient_scm.py
+++ b/gclient_scm.py
@@ -805,7 +805,7 @@ class GitWrapper(SCMWrapper):
else:
depth = None
mirror.populate(verbose=options.verbose, bootstrap=True, depth=depth,
- ignore_lock=options.ignore_locks)
+ ignore_lock=getattr(options, 'ignore_locks', False))
mirror.unlock()
def _Clone(self, revision, url, options):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698