aboutsummaryrefslogtreecommitdiff
path: root/llvm_tools/git_llvm_rev.py
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2021-03-10 05:57:21 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2021-03-10 05:57:21 +0000
commit898f8d62d1305674635d1e341b5839154d4e6acd (patch)
tree73936aba47fe1dc71e9cc05af9747036e935608c /llvm_tools/git_llvm_rev.py
parent5948a3ee3be44c312f11fb2acc617cce94e95582 (diff)
parent6e9f5ed75e19d8fc561fda91f5d133ef1ceacd03 (diff)
downloadtoolchain-utils-898f8d62d1305674635d1e341b5839154d4e6acd.tar.gz
Original change: https://android-review.googlesource.com/c/platform/external/toolchain-utils/+/1624621 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I3e09c0f25dea2ce281aa3edc999669d4d383510b
Diffstat (limited to 'llvm_tools/git_llvm_rev.py')
-rwxr-xr-xllvm_tools/git_llvm_rev.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm_tools/git_llvm_rev.py b/llvm_tools/git_llvm_rev.py
index 07209f1e..c8c1505c 100755
--- a/llvm_tools/git_llvm_rev.py
+++ b/llvm_tools/git_llvm_rev.py
@@ -7,7 +7,7 @@
"""Maps LLVM git SHAs to synthetic revision numbers and back.
Revision numbers are all of the form '(branch_name, r1234)'. As a shorthand,
-r1234 is parsed as '(master, 1234)'.
+r1234 is parsed as '(main, 1234)'.
"""
from __future__ import print_function
@@ -18,7 +18,7 @@ import subprocess
import sys
import typing as t
-MAIN_BRANCH = 'master'
+MAIN_BRANCH = 'main'
# Note that after base_llvm_sha, we reach The Wild West(TM) of commits.
# So reasonable input that could break us includes: