【发布时间】:2010-05-14 00:57:31
【问题描述】:
我正在尝试将变更集从使用 TortoiseHg 创建的本地 Mercurial 存储库推送到远程 Git 存储库。我已经安装并配置了 hg-git,它会拉得很好。但是当我运行 push 时,它给了我这个
命令
hg push git+ssh://git@dummyrepo:username/repo.git
结果
pushing to git+ssh://git@dummyrepo:username/repo.git
importing Hg objects into Git
creating and sending data
abort: the remote end hung up unexpectedly
为了达到这一点,我做了几件事。但我希望能解决这最后一件事,因为我发现 TortoiseHg 比现有的任何 Git 工具(适用于 windows)更容易使用。
- 已安装 TortoiseHg
- 从http://bitbucket.org/durin42/hg-git/ 拉下 hg-git
- 将 mercurial.ini 配置为指向 hg-git 库
- 从 git://git.samba.org/jelmer/dulwich.git 拉下 dulwich 源
- 编译dulwich并将其放入TortoiseHg的library.zip中
- 将 TortoiseHg 配置为使用 TortoisePlink.exe 进行 ssh
- 将我的私钥添加到 Pageant
有什么我可能会遗漏的想法吗?
【问题讨论】:
标签: git ssh tortoisehg