commit | 7e133ff177ff12e5fd30a5da5636164f9af45599 | [log] [tgz] |
---|---|---|
author | Josip Sokcevic <sokcevic@google.com> | Tue Jul 13 17:44:53 2021 +0000 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jul 13 17:44:53 2021 +0000 |
tree | 17dc8d17359311b2869b5cb2b38e9e5c124d3289 | |
parent | 9eee47a8e9bcd031ab2cf045dc82ef01a010619a [diff] [blame] |
Use main branch as the default branch R=apolito@google.com Change-Id: I6a2ed557b9e8d45194b2fe4ea5327ce62020733c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/3000134 Reviewed-by: Anthony Polito <apolito@google.com> Commit-Queue: Josip Sokcevic <sokcevic@google.com>
diff --git a/scm.py b/scm.py index 812454b..5275d43 100644 --- a/scm.py +++ b/scm.py
@@ -216,7 +216,7 @@ except subprocess2.CalledProcessError: pass # Return default branch - return 'refs/remotes/%s/master' % remote + return 'refs/remotes/%s/main' % remote @staticmethod def GetBranch(cwd):