-
Jose Lopes authored
At the moment, specifying --dependencies to upload all dependent CLs will always prompt for confirmation if --force was specified. This means that there is no way to run this command in a batch way or from another script, and it's also in contradiction to the --force flag which is meant to answer 'yes' to all prompts. This uses a pattern that is used several times in the script, which is to check 'if not force: prompt()'. Change-Id: I7d85b02b68d958a5b2d3295a04c4ced023d36ec8 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2139700 Auto-Submit: Jose Lopes <jabolopes@google.com> Commit-Queue: Edward Lesmes <ehmaldonado@chromium.org> Reviewed-by: Edward Lesmes <ehmaldonado@chromium.org>
3863fc52