Add option to always "set bot-commit+1" in update_files() method
If one uses update_files() method to file a chain of CLs and wants to submit them together, they have to set submit=False to wait for the last CL. As a result, users have to run `set Bot-Commit+1` for each CL at their side, which is annoying. This change makes the gerrit module to handle that, and callers only need to submit the chain. BUG=1261724 TEST=train Change-Id: If7d420d8d3c40b1d462284395cdc87ac680d0918 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3235388 Commit-Queue: Xinan Lin <linxinan@chromium.org> Reviewed-by: Dirk Pranke <dpranke@google.com> Reviewed-by: Michael Moss <mmoss@chromium.org>
Showing
Please
register
or
sign in
to comment