commit | c62691b671a989494e1c8ed0b04de6d30a673d82 | [log] [tgz] |
---|---|---|
author | Andrii Shyshkalov <tandrii@chromium.org> | Fri Apr 26 15:56:30 2019 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 26 15:56:30 2019 +0000 |
tree | 2517ac63d14a1155760a49d9d5267a04642d9300 | |
parent | 7a2205ca50c854f82bf7325478d80e85b74ce920 [diff] [blame] |
git_cache: print if cache bundle under the same number already exists. Led-proof: https://chromium-swarm.appspot.com/task?id=4470d83a68228610 R=karenqian Bug: 943696 Change-Id: Id01e7bae788b52488c536cfc2d93c278d56592fa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1585643 Reviewed-by: Karen Qian <karenqian@google.com> Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
diff --git a/git_cache.py b/git_cache.py index c1a5f71..a7ac8a7 100755 --- a/git_cache.py +++ b/git_cache.py
@@ -624,11 +624,11 @@ # might not exist yet, so it will error no matter what if ls_err: print('Failed to check GS:\n%s' % (ls_err)) - if ls_err_ready: print('Failed to check GS:\n%s' % (ls_err_ready)) if not (ls_out == '' and ls_out_ready == ''): + print('Cache %s already exists' % dest_name) return gsutil.call('-m', 'cp', '-r', src_name, dest_name)