首页 > 解决方案 > 水银复制

问题描述

我正在尝试配置复制 Mercurial hg 服务器

我有一个存储库 test1 和一个子存储库 test2

在第二台服务器上我运行命令

hg clone --noupdate https://user:password@sserver1/test1

hg clone --noupdate https://user:password@sserver1/test2

然后hg pull

下载成功

此外,我在 clint PC 上克隆存储库

hg clone https://user:password@sserver2/test1

我得到错误授权失败(在子存储库«test2»中)如果打开文件.hgsub

test2 = https://server1/test2

相反,应该有

test2 = https://server2/test2

也就是子库错误是指第一台服务器,应该是指第二台

如何正确设置replicatiom Mercurial hg?

标签: mercurialreplication

解决方案


推荐阅读