[英]Mercurial convert extension not able to pull from remote Git repository
我正在嘗試做一個' hg convert
',從一個Git repo拉到一個Hg。
現在,我的Windows 7機器上沒有安裝Git; 那有必要嗎? 我正在使用TortoiseHG命令行,我已經激活了轉換擴展(' hg help convert
'工作正常)。
這是我正在嘗試使用的命令的示例:
hg convert -s git -d hg https://github.com/mysticbob/glm.git gittest
這是Github的公共回購,所以我應該能夠從它轉換。 地址是Github所說的應該用來獲取的地址。 我得到的是以下消息:
initializing destination gittest repository
https://github.com/mysticbob/glm.git does not look like a Git repository
有任何想法嗎?
如果我相信問題1246 ,你需要為hg convert
擴展安裝git才能工作。
即使安裝了Git,您可能會遇到導入的其他一些問題,在這種情況下,您可以考慮其他替代方案,例如:
hg-git
mercurial插件,具體提到: 這個插件完全用Python實現 - 沒有Git二進制依賴項,你不需要在你的系統上安裝Git。
(但我不知道hg-git
適用於最近的1.7+ Mercurial版本)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.