Fix: Update default branch of Mono & Manifest
What does this MR do and why?
What
将 Mono client 仓库 和 Manifest 仓库 两个仓库的默认分支配置在它们自己的 Class 中,以修复 mono sync
时可能出现的错误:
$ mono sync
fatal: Couldn't find remote ref refs/heads/main-jh
error: in `sync`: revision refs/heads/main-jh in manifests not found
Why
-
RepoProject
是管理 Mono client 仓库 的类 -
ManifestProject
是管理 Manifest 仓库 的类 -
MetaProject
是上面二者共同的父类
在之前的 MR 中,我们将 main-jh
配置在了父类 MetaProject
中,这不合理。
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
由 路志远 编辑于