mercurial-server是否支持subrepo?

时间:2010-06-04 21:34:02

标签: mercurial subrepos mercurial-server

我在我的一台机器上安装了mercurial-server,在那里克隆了我的项目,它有3个子目录,当我尝试将它克隆回另一个位置时出现错误:

  

remote:mercurial-server:不行   在现有仓库下创建仓库

     

abort:没有合适的回复   远程hg!

所以我开始认为mercurial-server不处理subrepo。

有任何线索吗?

5 个答案:

答案 0 :(得分:5)

答案 1 :(得分:1)

他们的changelog从未提及subrepos their documentation也没有。

所以很可能他们还不支持这个功能,但我不确定。

答案 2 :(得分:1)

我从mercurial-server的开发者那里得到了答案,说他们还不支持它。

答案 3 :(得分:1)

这个post表示禁用“checkParents”代码将支持subrepos。

修改

我最近尝试过使用它,即使不更改任何默认设置也可以正常使用。

答案 4 :(得分:0)

我发现你需要在“mercurial.ini”设置文件中设置任何子目录的位置。

对于名为“mysubrepo”的子名单,您需要添加行

[subpaths]
mysubrepo = ssh://hg@myserver/subrepolocation