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

Unified Diff: gclient_scm.py

Issue 256683002: Comment out lkcr/lkgr fetching from chromium/src.git's git cache (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 8 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 491345e856920023b7168a89ba8c513727d981e2..aef2969640e6e938f6deda6d70713d4d53d3cebd 100644
--- a/gclient_scm.py
+++ b/gclient_scm.py
@@ -738,8 +738,12 @@ class GitWrapper(SCMWrapper):
'print_func': self.filter,
'refs': []
}
- if url == CHROMIUM_SRC_URL or url + '.git' == CHROMIUM_SRC_URL:
- mirror_kwargs['refs'].extend(['refs/tags/lkgr', 'refs/tags/lkcr'])
+ # TODO(hinoka): This currently just fails because lkcr/lkgr are branches
+ # not tags. This also adds 20 seconds to every bot_update
+ # run, so I'm commenting this out until lkcr/lkgr become
+ # tags. (2014/4/24)
+ # if url == CHROMIUM_SRC_URL or url + '.git' == CHROMIUM_SRC_URL:
+ # mirror_kwargs['refs'].extend(['refs/tags/lkgr', 'refs/tags/lkcr'])
if hasattr(options, 'with_branch_heads') and options.with_branch_heads:
mirror_kwargs['refs'].append('refs/branch-heads/*')
mirror = git_cache.Mirror(url, **mirror_kwargs)
« 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