Commit c58d11dd authored by hinoka@chromium.org's avatar hinoka@chromium.org

Have git_cache print out download progress when bootstrapping the git cache

BUG=261741,380958

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@275872 0039d316-1c4b-4281-b951-d872f2087c98
parent c2bc22d6
...@@ -265,9 +265,8 @@ class Mirror(object): ...@@ -265,9 +265,8 @@ class Mirror(object):
try: try:
tempdir = tempfile.mkdtemp() tempdir = tempfile.mkdtemp()
self.print('Downloading %s' % latest_checkout) 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: if code:
self.print('%s\n%s' % (out, err))
return False return False
filename = os.path.join(tempdir, latest_checkout.split('/')[-1]) filename = os.path.join(tempdir, latest_checkout.split('/')[-1])
......
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