From c50b0963e3f25f16e46a0029b1c1e939d0d4abd8 Mon Sep 17 00:00:00 2001 From: Andrii Shyshkalov Date: Thu, 21 Nov 2019 23:03:18 +0000 Subject: [PATCH] git_cache: don't lose options in upload_bootstrap. I noticed that chromium/src archive grew 2x from 7.3GiB in August to 15+ GiB now. Turns out --aggressive-gc had no effect. R=iannucci Change-Id: I6a27f67f5a4dd2101ac1622221106e094af4688a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1928583 Auto-Submit: Andrii Shyshkalov Commit-Queue: Robbie Iannucci Reviewed-by: Robbie Iannucci --- git_cache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git_cache.py b/git_cache.py index f104a9bf6..c5f166e71 100755 --- a/git_cache.py +++ b/git_cache.py @@ -733,8 +733,8 @@ def CMDupdate_bootstrap(parser, args): print('Skipped populate step.') # Get the repo directory. - options, args = parser.parse_args(args) - url = args[0] + _, args2 = parser.parse_args(args) + url = args2[0] mirror = Mirror(url) mirror.update_bootstrap(options.prune, options.gc_aggressive) return 0