From b9d987ecdb4c8664ed16ff98b0a8777ac34e44a6 Mon Sep 17 00:00:00 2001 From: Joanna Wang Date: Fri, 7 Oct 2022 00:20:21 +0000 Subject: [PATCH] Add print gsutil ls output for git_cache Bug: 1370443 Change-Id: I113169a0fdfb3ea87f5f27ba066cce93b3ee6c91 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3938922 Commit-Queue: Joanna Wang Reviewed-by: Gavin Mak --- git_cache.py | 1 + 1 file changed, 1 insertion(+) diff --git a/git_cache.py b/git_cache.py index 19cbf6fc5..43f439135 100755 --- a/git_cache.py +++ b/git_cache.py @@ -520,6 +520,7 @@ class Mirror(object): # ls_out lists contents in the format: gs://blah/blah/123... _, ls_out, _ = gsutil.check_call('ls', self._gs_path) + self.print('ran "gsutil ls %s": %s' % (self._gs_path, ls_out)) # Check to see if folder already exists in gs ls_out_set = set(ls_out.strip().splitlines())