我试图按照https://gist.github.com/1059280#comments的指示,在Win7上安装hg和MinGW进行编译(我想,从跨StackOverflow和其他地方的阅读来看,唯一需要编译的部分是用于Python绑定的dulwich )。
我正在使用Python27,尽管该站点上的方向指向Python26,我认为这可能是问题所在。
为了这个问题,我不愿意下载VisualC++。
我得到以下方向:
Create an import library for MinGW gcc (http://mercurial.selenic.com/wiki/BuildingOnWindows)
> cd c:\python27\libs
> pexports c:\windows\system32\python27.dll > python26.def并得到以下回溯:
PS C:\python27\libs> pexports c:\windows\system32\python27.dll > python27.def
stat: No such file or directory
c:\mingw\bin\pexports.exe: c:\windows\system32\python27.dll: could not load PE image毕松岛27,存在。"stat“命令不会。
任何想法都会很好,谢谢。
发布于 2012-11-23 01:31:59
如果您的主要目标是在Windows上使用Hg-Git,我建议的安装过程是:
所需的配置块如下所示:
[extensions]
hggit=c:\hg-git\hggit如果您使用的是TortoiseHg 1.x.x,您还需要在配置文件中或使用TortoiseHG (TortoiseHG -全局设置-扩展名)启用书签扩展名。
最近在Hg-Git邮件列表:https://groups.google.com/d/topic/hg-git/lLHsYbxcTzI/discussion上讨论了这个主题。
关于如何安装Hg-Git的TortoiseHg文档(重要的部分是捆绑的dulwich):https://tortoisehg.bitbucket.io/manual/2.5/nonhg.html#hg-git-git
TortoiseHg中包含的dulwich版本可以从TortoiseHg安装目录中的扩展-versions.txt的内容中派生出来。它在提供的Bitbucket存储库中标识修订版。例如,TortoiseHg 2.6提供了Dulwich散列71b73697d24b,它来自这里,标记为Dulw治0.8.5。
https://stackoverflow.com/questions/10771845
复制相似问题