diff options
author | George Burgess IV <gbiv@google.com> | 2024-05-06 10:12:43 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2024-05-06 19:02:59 +0000 |
commit | 1e2bac9788d322d64d5b93a5cb6af22290575cac (patch) | |
tree | 967ce3341f304e8c24cf19120dfac20e6ba5c905 | |
parent | ae0dbb5e69b2cfda2341813fb1fe619cecba65fa (diff) | |
download | toolchain-utils-1e2bac9788d322d64d5b93a5cb6af22290575cac.tar.gz |
llvm_tools: point get_upstream_patch at github
BUG=b:333720269
TEST=Generated crrev.com/c/5519054
Change-Id: I97c50ffc321a5a8ac8a9c44149d6047392d14f8b
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/5515899
Reviewed-by: Ryan Beltran <ryanbeltran@chromium.org>
Commit-Queue: George Burgess <gbiv@chromium.org>
Tested-by: George Burgess <gbiv@chromium.org>
-rw-r--r-- | llvm_tools/get_upstream_patch.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm_tools/get_upstream_patch.py b/llvm_tools/get_upstream_patch.py index c8626fb3..85dacaa4 100644 --- a/llvm_tools/get_upstream_patch.py +++ b/llvm_tools/get_upstream_patch.py @@ -407,9 +407,9 @@ class ParsedPatch: rev: t.Union[git_llvm_rev.Rev, str] def git_msg(self) -> str: - if self.is_differential: - return f"\n\nreviews.llvm.org/{self.patch}\n" - return f"\n\nreviews.llvm.org/rG{self.sha}\n" + # TODO(b/339010069): Clean `differential` up. + assert not self.is_differential, "differential CLs aren't supported." + return f"\n\nhttps://github.com/llvm/llvm-project/commit/{self.sha}\n" def _convert_patch( |