diff options
author | George Burgess IV <gbiv@google.com> | 2021-08-03 06:59:24 +0000 |
---|---|---|
committer | George Burgess <gbiv@chromium.org> | 2021-08-03 19:48:02 +0000 |
commit | 14fda118b124a783297391c2a54e54d67009820d (patch) | |
tree | db4451c8a8905c4d3eae722aa3692a920a636830 /.style.yapf | |
parent | 05c8210cc7bbf8041e5f66cbfe134ca0667c3a76 (diff) | |
download | toolchain-utils-14fda118b124a783297391c2a54e54d67009820d.tar.gz |
git_llvm_rev: prefer upstream/* branches over non-upstream/ branches
It seems that LLVM has an old precedent of `release/${version}`
branches, but has swapped to naming new branches
`upstream/release/${version}`. This includes a retroactive addition of
`upstream/release/${version}` for old versions, which makes the
`ValueError` here get raised. Prefer the newer, shinier names.
BUG=b:194731505
TEST=./git_llvm_rev_test.py
Change-Id: If170c004eae0edf1a69792207e5c681deb10e50b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3068860
Reviewed-by: Bob Haarman <inglorion@chromium.org>
Tested-by: George Burgess <gbiv@chromium.org>
Diffstat (limited to '.style.yapf')
0 files changed, 0 insertions, 0 deletions