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

Unified Diff: git_tools.py

Issue 349733003: Always set deps2git.py to ignore cache locks (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/deps2git.git@master
Patch Set: Created 6 years, 6 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: git_tools.py
diff --git a/git_tools.py b/git_tools.py
old mode 100644
new mode 100755
index a5f5bfc0c27fe3119ab2e0675b7696ae0b9aaade..5f52f9e593dc68ebadd6c988c056582c45e69af5
--- a/git_tools.py
+++ b/git_tools.py
@@ -156,7 +156,7 @@ def PopulateCache(git_url, shallow=False):
if shallow and 'adobe' in git_url:
depth = 10
mirror = git_cache.Mirror(git_url, print_func=lambda *args: None)
- mirror.populate(depth=depth, shallow=shallow)
+ mirror.populate(depth=depth, shallow=shallow, ignore_lock=True)
return mirror.mirror_path
« 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