From 6097a92db01433615e08810c2db5fa1e68fb92a7 Mon Sep 17 00:00:00 2001 From: Edward Lesmes Date: Fri, 21 May 2021 19:48:14 +0000 Subject: [PATCH] bot_update: Remove more unused arguments. Change-Id: I00b32eb109cdff7e138ef5d9497eda77c33188f3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2912295 Auto-Submit: Edward Lesmes Commit-Queue: Gavin Mak Reviewed-by: Gavin Mak --- recipes/recipe_modules/bot_update/resources/bot_update.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/recipes/recipe_modules/bot_update/resources/bot_update.py b/recipes/recipe_modules/bot_update/resources/bot_update.py index 99788c60c..45f4e19af 100755 --- a/recipes/recipe_modules/bot_update/resources/bot_update.py +++ b/recipes/recipe_modules/bot_update/resources/bot_update.py @@ -389,7 +389,7 @@ def gclient_sync( os.close(fd) args = ['sync', '--verbose', '--reset', '--force', - '--ignore_locks', '--output-json', gclient_output_file, + '--output-json', gclient_output_file, '--nohooks', '--noprehooks', '--delete_unversioned_trees'] if with_branch_heads: args += ['--with_branch_heads'] @@ -647,8 +647,8 @@ def _git_checkout(sln, sln_dir, revisions, refs, no_fetch_tags, git_cache_dir, branch, revision = get_target_branch_and_revision(name, url, revisions) pin = revision if COMMIT_HASH_RE.match(revision) else None - populate_cmd = (['cache', 'populate', '--ignore_locks', '-v', - '--cache-dir', git_cache_dir, url, '--reset-fetch-config']) + populate_cmd = (['cache', 'populate', '-v', '--cache-dir', git_cache_dir, url, + '--reset-fetch-config']) if no_fetch_tags: populate_cmd.extend(['--no-fetch-tags']) if pin: