在 Windows 7 64 位上安装 Hg-Git

发布于 2024-10-10 07:05:39 字数 690 浏览 0 评论 0原文

我正在尝试将 Hg-Git 插件 安装到我的 Windows 7 操作系统

  1. 我有克服了一些困难,例如安装 Python 和 此博客

  2. 即使在本手册之后,我也遇到了问题,并且由于此日志中描述的错误而无法安装此插件。

  3. 我搜索了谷歌,发现了这个手册

  4. 现在我在此日志中显示了这些错误。

对这些错误有帮助吗?感谢您的帮助。

I am trying for a while installing Hg-Git addon to my Windows 7 Operating system

  1. I have crossed several difficulties like installing Python and other utilities described in this blog.

  2. I had even after this manual problems and could not install this addon because of errors described in this log.

  3. I searched google and I have found this manual

  4. Now i have these errors showed in this log.

Any help with these errors? Thank you for your help.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

℉服软 2024-10-17 07:05:39

如果它对任何人有帮助,我有 Windows 7 64 位和 TortoiseHg 并遵循他们的 说明很简单并且没有问题。

安装

TortoiseHg Windows 安装程序附带 python-git 绑定(名为
dulwich) hg-git 需要,所以只需要克隆 hg-git
存储库到本地计算机:

hg 克隆 http://bitbucket.org/durin42/hg-git/ C:\hg-git

然后启用
Mercurial.ini 文件中的 hggit 和书签:

<代码>[扩展名]

书签=

hggit = C:\hg-git\hggit

您可以验证一下
通过输入 hg help hggit 来工作

In case it helps anyone, I have Windows 7 64bit and TortoiseHg and following their instructions was easy and worked without issue.

Installation

TortoiseHg Windows installers come with the python-git bindings (named
dulwich) that hg-git requires, so one only needs to clone the hg-git
repository to your local computer:

hg clone http://bitbucket.org/durin42/hg-git/ C:\hg-git

Then enable
hggit and bookmarks in your Mercurial.ini file:

[extensions]

bookmarks =

hggit = C:\hg-git\hggit

You can verify that
worked by typing hg help hggit

筑梦 2024-10-17 07:05:39

好吧,我明白了...对于其他人 - 您需要克隆此存储库

HTTPS:

git clone https://github.com/jelmer/dulwich.git

SSH:

git clone [email protected]:jelmer/dulwich.git

或只是下载源代码 - 之后您需要转到其文件夹您在命令行类型中下载:

python setup.py install

您完成后,您可以简单地执行以下操作:

easy_install hg-git

在 Windows 上并使其工作 - 所以恭喜:-) 关闭。

Ok i got it so ... For others - you need to clone this repo

HTTPS:

git clone https://github.com/jelmer/dulwich.git

SSH:

git clone [email protected]:jelmer/dulwich.git

or just download source - after that you need to go to its folder when you downloaded in command line type:

python setup.py install

You are done after you can simply do:

easy_install hg-git

On windows and make it work - so congratulations :-) Close.

旧人 2024-10-17 07:05:39

我创建了一个 powershell 脚本,该脚本一步完成安装。前提条件是你已经安装了一些构建工具和 python:
http://ig2600.blogspot.com/2013 /02/using-git-via-hg-on-windows.html

I created a powershell script which does the installation in one step. The prereq is you have some build tools and python already installed:
http://ig2600.blogspot.com/2013/02/using-git-via-hg-on-windows.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文