首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用tortoisehg从http URL克隆git存储库

使用tortoisehg从http URL克隆git存储库
EN

Stack Overflow用户
提问于 2011-04-26 18:16:00
回答 2查看 1.2K关注 0票数 4

我安装了带有hg-git扩展的TortoiseHg。我知道它正在工作,因为我可以使用hg clone git://github.com/foo/bar.git从github克隆存储库。

然而,我正在尝试克隆一个位于http://www-dev.cockos.com/wdl/WDL.git/的存储库,如果我执行hg clone http://www-dev.cockos.com/wdl/WDL.git/ it,则不出所料地报告:

代码语言:javascript
复制
abort: 'http://www-dev.cockos.com/wdl/WDL.git/' does not appear to be an hg repository!

然后我尝试添加git://前缀,这看起来像是在做一些事情(说“将Hg对象导入到Git中”,但最终超时并显示消息:

代码语言:javascript
复制
destination directory: WDL.git
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

有没有什么标志可以用来告诉hg-git使用http URL进行克隆?

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2011-04-26 18:47:47

在读取 (Hg-Git使用的Git交互库)的release notes时,不清楚Git repo是否支持http协议。

实际上,bug 373688this thread似乎表明,http://.../repo.git目前不是dulwich (以及hg-git)所支持的url。

目前只有file:///git://git+ssh://可用。

票数 1
EN

Stack Overflow用户

发布于 2011-11-07 22:48:18

这个问题现在应该被修复了,因为Dulwitch0.8.1现在可以理解http协议。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/5788872

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档