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

Unified Diff: gclient_scm.py

Issue 3015012: Revert "gclient: fetch only what's needed" (Closed)
Patch Set: Created 10 years, 5 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 928ffdf1c7b736403757ae8f5694ead825bbab1e..a76d2d0c2c882887a1ae32680b4969532a4bb2fb 100644
--- a/gclient_scm.py
+++ b/gclient_scm.py
@@ -257,13 +257,7 @@ 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_output, remote_err = scm.GIT.Capture(
['remote'] + verbose + ['update'],
self.checkout_path,
print_error=False)
« 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