We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6d3a42 commit bf20281Copy full SHA for bf20281
llvm/utils/revert_checker.py
@@ -284,16 +284,11 @@ def _main() -> None:
284
all_reverts.append(revert)
285
286
for revert in all_reverts:
287
- sha_fmt = (
288
- f"https://reviews.llvm.org/rG{revert.sha}"
289
- if opts.review_url
290
- else revert.sha
291
- )
292
- reverted_sha_fmt = (
293
- f"https://reviews.llvm.org/rG{revert.reverted_sha}"
294
295
- else revert.reverted_sha
+ sha_prefix = (
+ "https://github.com/llvm/llvm-project/commit/" if opts.review_url else ""
296
)
+ sha_fmt = f"{sha_prefix}{revert.sha}"
+ reverted_sha_fmt = f"{sha_prefix}{revert.reverted_sha}"
297
print(f"{sha_fmt} claims to revert {reverted_sha_fmt}")
298
299
0 commit comments