mercurial - 水银复制
问题描述
我正在尝试配置复制 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?
解决方案
推荐阅读
- linux - 如果文件更改或使用 entr 创建,如何监视文件?
- python - 是否有 Python 函数可以在熊猫数据框中查找矩阵索引向量?
- r - 如何更改 data.frame 中的单元格值
- ghost-blog - Ghost:在 foreach 循环中获取帖子的 URL
- sql-server - Excel 连接到数据库,在 One Drive 中共享时出现问题
- ansible - 通过ansible在配置文件中添加字符串
- html - 我怎样才能编辑文本看起来像在图片上?
- python - 无法获取要在 Django 模板中显示的图像
- javascript - 为什么在Javascript中使用Date()时需要使用关键字new
- php - 在随机文本中的某些单词之前添加中断?