gpt4 book ai didi

eclipse - Mercurial Eclipse 错误

转载 作者:行者123 更新时间:2023-12-03 07:26:03 25 4
gpt4 key购买 nike

我正在尝试在 Eclipse 中使用 Mercurial。我为此下载了 Mercurial Eclipse 插件。
但是,尽管我重新安装了很多次,但还是出现同样的错误,我把截图放在下面。

Mercurial for Eclipse error message

Checking encoding (cp1254)...
Checking extensions...
Checking templates...
Checking patch...
Checking commit editor...
Can't find editor 'notepad' in PATH
(specify a commit editor in your configuration file)
Checking username...
1 problems detected, please check your install!. Command line: hg -y debuginstall

我不知道如何处理这个问题。任何帮助将不胜感激,谢谢。

最佳答案

当我尝试在 Win 7 x64 上运行 Eclipse x64 时,遇到了同样的问题。 MercurialEclipse 似乎无法访问 C:\windows\system32\文件夹,尽管它已在系统路径中指定。您需要在 Mercurial.ini 文件中指定编辑器的位置。该文件位于c:\Users\<your_username>\mercurial.ini

根据username = ...行,添加一行来指定编辑器(见下文)。请记住不要在路径周围加上引号。

[ui]
username = <username>
editor = c:\Windows\System32\notepad.exe

关于eclipse - Mercurial Eclipse 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4989660/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com