在 Windows 下克隆 Mercurial 存储库时使用硬链接

发布于 2024-08-01 14:48:56 字数 212 浏览 3 评论 0原文

我在 Windows XP 下使用 Mercurial(使用 TortoiseHg 发行版),并且我想在克隆存储库时使用 NTFS 硬链接。 开箱即用的 Mercurial 不会这样做。 我读到需要启用 win32file python 扩展。 到目前为止,我未能成功完成这项工作(将 win32file 条目添加到 Mercurial.ini 中的扩展部分似乎不起作用)。 有没有简单的方法来启用它?

I am using Mercurial under Windows XP (using the TortoiseHg distribution) and I want to use NTFS hardlinks when cloning a repository. Out of the box Mercurial does not do this. I have read that a win32file python extension needs to be enabled. So far I have been unsuccessful in making this work (adding a win32file entry to the extensions section in mercurial.ini does not seem to work). Is there a simple way to enable it?

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

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

发布评论

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

评论(1

墨小沫ゞ 2024-08-08 14:48:56

我认为您需要安装完整的 Python 并使用 Mercurial 源安装。 虽然 TortiseHG 的 py2exe 编译的 Mercurial 安装可以很好地加载 Mercurial 扩展,但我的理解是它不会让你交换核心 python 模块。

I think you'll need to install full Python and use the Mercurial source install. While TortiseHG's py2exe-compiled installation of Mercurial can load mercurial extensions just fine, it's my understanding that it won't let you swap out core python modules.

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