1
如果存在用於提取和回顧的不同相對路徑,是否有任何配置回購的方法?爲git和審查提供不同的相對路徑的回購清單
例
Fetch managed by gitweb : ssh://gitweb.foo.com/data/bar/foo.git
Review managed by gerrit : https://gerrit.foo.com:8081/review/bar/foo
下面清單條目,獲取/同步工作正常,但repo upload
,因爲它看起來彌補https://gerrit.foo.com:8081/data/bar/foo.git
和失敗不'https://gerrit.foo.com:8081/review/bar/foo.git'
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="repo_name" fetch="ssh://gitweb.foo.com/" review="https://gerrit.foo.com:8081" />
<project path="code/foo" name="data/bar/foo" remote="repo_name" />
</manifest>
什麼是指向格里特的正確方法在回購清單文件中查看路徑。
那麼,我的問題是有關審查(回購上傳)。通過上面的清單,「repo upload」查找「https://gerrit.foo.com/data/bar/foo.git」我希望它指向「https://gerrit.foo.com:8081/review/酒吧/富「 – Kamath
PS git回購的鏈接是審查是不同的。 – Kamath
@Kamath,正如我在回答中寫的,您在清單文件中指定了一個錯誤的URL用於回購上傳。 – gzh