summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2024-01-09 10:58:21 -0500
committerNico Weber <thakis@chromium.org>2024-01-09 10:58:23 -0500
commitf7cb1afa06335edfc043cb5f11f97907e9df844c (patch)
tree6e7c68cfc549900553b3c69858da28675294899b
parentec56c922ab257845538215f21cac00cf278fbd04 (diff)
[gn] Make sync script print github URLs
Phab no longer knows about new revisions.
-rwxr-xr-xllvm/utils/gn/build/sync_source_lists_from_cmake.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/utils/gn/build/sync_source_lists_from_cmake.py b/llvm/utils/gn/build/sync_source_lists_from_cmake.py
index 6b48ca7de869..411f8f762430 100755
--- a/llvm/utils/gn/build/sync_source_lists_from_cmake.py
+++ b/llvm/utils/gn/build/sync_source_lists_from_cmake.py
@@ -123,7 +123,8 @@ def sync_source_lists(write):
# Output necessary changes grouped by revision.
for rev in sorted(changes_by_rev):
- print("[gn build] Port {0} -- https://reviews.llvm.org/rG{0}".format(rev))
+ commit_url = 'https://github.com/llvm/llvm-project/commit/'
+ print("[gn build] Port {0} -- {1}/{0}".format(rev, commit_url))
for gn_file, data in sorted(changes_by_rev[rev].items()):
add = data.get("add", [])
remove = data.get("remove", [])