Commit 4a3bc282 authored by msb@chromium.org's avatar msb@chromium.org

Revert "gclient: fetch only what's needed"

This reverts commit bca61a9de79d5a86454edecae5b00e581e9e6783.

This commit was broken

BUG=none
TEST=gclient sync actually updates

TBR=maruel

Review URL: http://codereview.chromium.org/3015012

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@53112 0039d316-1c4b-4281-b951-d872f2087c98
parent 8010f07d
......@@ -257,12 +257,6 @@ class GitWrapper(SCMWrapper):
# Update the remotes first so we have all the refs.
for _ in range(10):
try:
if rev_type == "branch":
remote_output, remote_err = scm.GIT.Capture(
['fetch'] + verbose + ['origin', revision],
self.checkout_path,
print_error=False)
else:
remote_output, remote_err = scm.GIT.Capture(
['remote'] + verbose + ['update'],
self.checkout_path,
......
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