Skip to content

Commit f7cb1af

Browse files
committed
[gn] Make sync script print github URLs
Phab no longer knows about new revisions.
1 parent ec56c92 commit f7cb1af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/utils/gn/build/sync_source_lists_from_cmake.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ def by_rev(files, key):
123123

124124
# Output necessary changes grouped by revision.
125125
for rev in sorted(changes_by_rev):
126-
print("[gn build] Port {0} -- https://reviews.llvm.org/rG{0}".format(rev))
126+
commit_url = 'https://github.com/llvm/llvm-project/commit/'
127+
print("[gn build] Port {0} -- {1}/{0}".format(rev, commit_url))
127128
for gn_file, data in sorted(changes_by_rev[rev].items()):
128129
add = data.get("add", [])
129130
remove = data.get("remove", [])

0 commit comments

Comments
 (0)