【问题标题】:can not get sources from bitbucket无法从 bitbucket 获取资源
【发布时间】:2010-12-09 19:20:28
【问题描述】:

Windows XP、Mercurial 1.6.4

hg clone https://demas@bitbucket.org/demas/start.here
destination directory: start.here
requesting all changes
abort: error:

但如果我使用 SSH 一切正常

hg clone ssh://hg@bitbucket.org/demas/start.here

调试信息:

hg clone --debug https://demas@bitbucket.org/demas/start.here
using https://bitbucket.org/demas/start.here
http auth: user demas, password not set
sending between command
destination directory: start.here
sending heads command
requesting all changes
sending changegroup command
abort: error:

为什么?我该如何解决?

【问题讨论】:

  • 尝试更新到较新的 Mercurial 版本,我设法用 1.7.2 很好地克隆了它。
  • 我已经完成了,但没有任何改变。在其中一个网络(工作中)中一切正常,但是当我尝试从家里克隆时,我收到此错误消息。我认为这与网络设置有关。
  • 嗯...如果我使用 http 而不是 https,则可以使用。
  • hg clone --debug <URL> 告诉你什么?
  • @demas 你中间有一些 http 代理服务器吗?你可以克隆其他项目,或者没有用户名(url中没有demas@)?

标签: mercurial bitbucket


【解决方案1】:

使用自定义配置来解决自签名证书的处理:

请注意,根据安装的默认设置,使用自签名证书连接到存储库会在 1.7.3 中失败。您需要针对这种情况调整默认配置。

参考文献

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-10-14
    • 2014-03-30
    • 2015-03-02
    • 2021-01-11
    • 2018-03-18
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多