hg克隆git:。。。。中止:连接失败?

hg克隆git:。。。。中止:连接失败?,git,mercurial,hg-git,Git,Mercurial,Hg Git,尝试使用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, o

尝试使用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存储库。

我刚刚尝试使用Mercurial 2.0.1和最新版本的hg git(
32afa497834d
)进行克隆,效果很好:

$ hg clone git://github.com/rails/rails.git target folder: rails importing git objects into hg updating to branch default 2363 files updated, 0 files merged, 0 files removed, 0 files unresolved $ cd rails $ hg bookmarks 1-2-stable 6587:93df9ec91d74 2-0-stable 10433:a74a77f2c7df 2-1-stable 22955:4c14fc65e13c 2-2-stable 22928:b32f7da4c135 2-3-stable 28837:e769c35f4340 3-0-stable 31725:a189c6d4c685 3-1-stable 31878:48eca81a94da 3-2-stable 32018:6fdea401d4ed compressor 26886:23cc0919b32e deps_refactor 19317:9e47f0c5d1cf encoding 17779:b3f42950528b * master 32028:2516d736e018 sass-cleanup 25967:5f871a0fbe08 serializers 30995:00982814bb34 $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_重构19317:9e47f0c5d1cf 编码17779:b3f42950528b *母版32028:2516d736e018 sass清理25967:5f871a0fbe08 序列化程序30995:00982814bb34
所以我猜你只是网络不走运,或者GitHub出现了暂时性问题。

你能用git成功克隆git repos吗?是否有可能端口被阻塞?