commit | c5b1bd6c4bb4f3e753c25872b58f1b9a53f3165b | [log] [tgz] |
---|---|---|
author | Jordan R Abrahams <ajordanr@google.com> | Wed Jan 12 00:31:47 2022 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 13 04:02:42 2022 +0000 |
tree | 27e990f96097b3eb7b38e0b6a51b90219054abce | |
parent | 6683e0e6b2152e8e92e7da9c4008913518e1fbd8 [diff] |
patch_sync: Add better command debugging This commit allows the git commands to print out what the command was that they failed at. This is pretty helpful in debugging what went wrong. We don't capture the repo output ever, so that can remained piped to the terminal. But we need to do some trickery for the git cmd. BUG=b:209493133 TEST=None Change-Id: I389257fef1e3bf394fb4013588df6c78e83b733a Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3379478 Reviewed-by: George Burgess <gbiv@chromium.org> Reviewed-by: Michael Benfield <mbenfield@google.com> Tested-by: Jordan Abrahams-Whitehead <ajordanr@google.com> Commit-Queue: Jordan Abrahams-Whitehead <ajordanr@google.com>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.