Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我执行命令时,repo upload .我收到此错误消息:
repo upload .
[FAILED] device/path/to/repository/ branchname (ssh://gerrit.foo.com/: <urlopen error [Errno -2] Name or service not known>)
有谁知道这意味着什么,或者我如何获得更多信息?
对于它的价值,我可以毫无问题地执行repo sync .。
repo sync .
我通过单步调试 Python 代码发现了问题。Repo 不喜欢以 ssh:// 开头的存储库 url。它只接受 http、https 或 sso。
有罪代码是 git_config.py, ReviewUrl()。
我可能一直在处理损坏的回购清单。
解决方法是通过 git 手动推送:
git push origin HEAD:refs/for/project/foo