Commit 356cb5f4 authored by hinoka@google.com's avatar hinoka@google.com

Comment out lkcr/lkgr fetching from chromium/src.git's git cache

This isn't doing anything, and is currently costing 20 seconds of idle time
per bot_update run.  Lets remove it until we convert lkcr/lkgr to tags.

BUG=261741

Review URL: https://codereview.chromium.org/256683002

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266055 0039d316-1c4b-4281-b951-d872f2087c98
parent ac296200
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment