我有一个包含子存储库的mercurial repo:
repo
subrepo
.hgsub.hgsub最初有
subrepo = https://<domain>/user/repo域名是通过我的dns设置的,指向bitbucket (我在玩他们的自定义域名功能)。
我现在已经将.hgsub更改为:
subrepo = https://user@bitbucket.org/user/repo但是,当我尝试从子存储库中提取数据时,我得到了错误:
abort: <domain> certificate error: certificate is for bitbucket.org这意味着它仍然试图从我的域中拉出,而不是从bitbucket中。
我已经检查了我的repo/subrepo/.hg/hgrc文件,它正确地更新为:
[paths]
default = https://user@bitbucket.org/user/repo为什么它还在试图从旧的域名中拉出?
如果我尝试从repo推送,那么它会正确地推送到bitbucket。
编辑:实际上,从子存储库推送不起作用,但可以从父存储库推送
repo > push -工作,推送到bitbucket
subrepo > pull -不起作用,试图从我的域中拉出
subrepo > push -不起作用,试图从我的域中拉出
发布于 2012-06-13 05:51:17
更改.hgsub后,您需要重新克隆嵌套的存储库
https://stackoverflow.com/questions/11004740
复制相似问题