在以下日志中,URL repos/repoman@svr:repos/apps/init 是错误的。
正确的 URL 应该是 repoman@svr:repos/apps/init。
Gitolite 正在服务器上运行,svr。
请指出应该修改什么以使 repo 同步正常工作。
谢谢!
me@ubuntu1204x64:/home/me/work$ repo init -u repoman@svr:repos/manifests -m model_r1.xml
Get repoman@svr:repos/manifests
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 7 (delta 2), reused 0 (delta 0)
From 172.16.100.235:/mdm9640_le/manifests
* [new branch] master -> origin/master`
me@ubuntu1204x64:/home/me/work$ repo sync
Fetching project apps/init
bad command: git-upload-pack repos/repoman@svr:repos/apps/init
fatal: The remote end hung up unexpectedly`
me@ubuntu1204x64:/home/me/work$ cat .repo/manifest.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote fetch="repoman@svr:repos" name="origin"/>
<default remote="origin" revision="model_r1"/>
<project path="apps/init" name="apps/init" revision="refs/heads/model_r1" />
</manifest>`