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

Unified Diff: git_cache.py

Issue 325903005: Have git_cache print out download progress when bootstrapping the git cache (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
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_cache.py
diff --git a/git_cache.py b/git_cache.py
index a55f48ff850c47011a63a58bfe77d839102c7cce..086b479b81b5680ce56b6742f6cf17a53b7a2720 100755
--- a/git_cache.py
+++ b/git_cache.py
@@ -265,9 +265,8 @@ class Mirror(object):
try:
tempdir = tempfile.mkdtemp()
self.print('Downloading %s' % latest_checkout)
- code, out, err = gsutil.check_call('cp', latest_checkout, tempdir)
+ code = gsutil.call('cp', latest_checkout, tempdir)
if code:
- self.print('%s\n%s' % (out, err))
return False
filename = os.path.join(tempdir, latest_checkout.split('/')[-1])
« 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