【问题标题】:hg clone git:.... aborts: failing connection?hg clone git:....中止:连接失败?
【发布时间】:2010-08-10 12:33:58
【问题描述】:

尝试使用 Mercurial over hg-git 克隆 git 存储库时:

hg clone git://github.com/rails/rails.git
destination directory: rails
importing Hg objects into Git
abort: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

它失败了,但是为什么?我可以通过 http 成功克隆 hg 存储库。

【问题讨论】:

  • 你能用git成功克隆git repos吗?有没有可能是某个端口被阻塞了?

标签: git mercurial hg-git


【解决方案1】:

我刚刚尝试使用 Mercurial 2.0.1 和最新版本的 hg-git (32afa497834d) 进行克隆,它运行良好:

$ hg 克隆 git://github.com/rails/rails.git 目标文件夹:rails 将 git 对象导入 hg 更新到分支默认值 2363 个文件已更新,0 个文件已合并,0 个文件已删除,0 个文件未解决 $ cd 导轨 $ hg 书签 1-2-稳定 6587:93df9ec91d74 2-0-稳定 10433:a74a77f2c7df 2-1-稳定 22955:4c14fc65e13c 2-2-稳定 22928:b32f7da4c135 2-3-稳定 28837:e769c35f4340 3-0-稳定 31725:a189c6d4c685 3-1-稳定 31878:48eca81a94da 3-2-稳定 32018:6fdea401d4ed 压缩机 26886:23cc0919b32e deps_refactor 19317:9e47f0c5d1cf 编码 17779:b3f42950528b * 大师 32028:2516d736e018 sass 清理 25967:5f871a0fbe08 序列化程序 30995:00982814bb34

所以我猜你只是你的网络不走运,或者 GitHub 有一个暂时的问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-12-28
    • 2022-01-22
    • 2014-06-24
    • 2015-09-24
    • 1970-01-01
    • 2011-11-10
    相关资源
    最近更新 更多