簡體   English   中英

使用tortoisehg從http URL克隆git存儲庫

[英]Cloning git repository from http URL with tortoisehg

我安裝了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/毫不奇怪的報告:

abort: 'http://www-dev.cockos.com/wdl/WDL.git/' does not appear to be an hg repository!

然后我嘗試使用git://前綴,看起來它正在做某事(說“將Hg對象導入Git”,但最終超時消息:

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進行克隆?

在閱讀dulwich發行說明Hg-Git使用的Git交互的Python庫)時,不清楚Git repo是否支持http協議。

實際上, bug 373688這個帖子似乎表明http://.../repo.git不是dulwich目前支持的url(並且,擴展名為hg-git)。
目前只有file:///git://git+ssh://可用。

現在問題應該解決,因為Dulwich 0.8.1現在了解http協議。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM