我需要执行以下步骤,我需要更新 default.xml 以更改某些项目的修订版,然后同步代码,是否有 repo 选项可以同步到本地 default.xml 文件?如果没有,你可以吗请告知如何处理这个问题?
1.repo init -u git://git. company.com/platform/manifest.git -b <branchname>
2.Update default.xml to change the revision of some projects
<project path="kernel"
name="kernel/msm"
revision="refs/heads/3.18" />
3. repo sync
最佳答案
不建议直接修改default.xml,可以放在local_manifests中修改。
local_manifest.xml的使用方法可以引用here
关于android - repo init 后如何覆盖 default.xml,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35497856/