alibaba / git-repo-go

git-repo is a command-line tool for centralized workflow, can work with Gerrit, AGit-Flow compatible servers. It is written in Golang, and it can be installed easily without further dependency. It provides an easy-to-use solution for multiple repositories which is introduced by Android repo first, and it can also work with a single repository.
https://git-repo.info/
Apache License 2.0
262 stars 60 forks source link

当manifest.xml文件中存在某个project的path字段没定义的情况下,会报错 #27

Closed zoujunhua closed 2 years ago

zoujunhua commented 3 years ago

FATAL: duplicate path for project '.' in 'xxxxxxxxxxxx/.repo/manifest.xml'

当manifest.xml文件中存在某个project的path字段没定义的情况下,会报上面的错,

而谷歌的repo实现中,当遇到这种project时,path字段会默认赋值成name的相同值

jiangxin commented 3 years ago

Thank you for your report. Will resolve this issue ASAP.

jiangxin commented 3 years ago

See pull request #29 (After load manifests, check and fixup missing attrs)