commit | 811429e30bbd53c9b0f4ec8c6b882f68d42588b9 | [log] [tgz] |
---|---|---|
author | Jordan R Abrahams <ajordanr@google.com> | Mon Dec 20 23:44:04 2021 +0000 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 21 00:52:45 2021 +0000 |
tree | c4139ef61aa65710db91610d3dc32519166f68a6 | |
parent | ed2aa295b315c2d2570e942e6a056c45028f39b4 [diff] |
llvm_tools: Catch dup SHAs in get_upstream_patch If a duplicate SHA is listed in get_upstream_patch.py, we need to report this as an error and not do anything. This commit adds this functionality, as well as some structures to make adding this feature easier. BUG=b:187795686 TEST=get_upstream_patch.py $args --sha $SHA --sha $SHA Change-Id: I56f1159d5bdd34c52efc00e991b7f1333b7ba3f7 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3351166 Commit-Queue: Christopher Di Bella <cjdb@google.com> Reviewed-by: Christopher Di Bella <cjdb@google.com> Commit-Queue: Jordan Abrahams <ajordanr@google.com> Tested-by: Jordan Abrahams <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.