可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
I just installed a mercurial plugin for eclipse. The installation process went well. But after installing when I restarted eclipse an error was shown.
The error says:
Multiple Mercurial errors have occurred. Please check the Error Log view for detailed information. . Command line: hg -y debuginstall
I can't find any possible solution for this.
回答1:
Try running hg -y debuginstall
from the command line. It should show something like that:
Checking encoding (cp1252)... Checking installed modules (D:\Kazan\mercurial\library.zip\mercurial)... Checking templates... Checking commit editor... Checking username... No problems detected
If it doesn't, it should give you an indication on what's the problem. If the command is not found, install mercurial from https://www.mercurial-scm.org/wiki/Download or install tortoise-hg from http://tortoisehg.bitbucket.io/
回答2:
i have found the same problem... seems my update of the Nvidia driver deletes all my variables environments and Mercurial can find the notepad.exe
i found the solution adding in the mercurial.ini
locate in Users folder adding the path to notepad.exe
directly.
[ui] username=myusername editor = c:\\Windows\\System32\\notepad.exe ignore=....
i have found the solution here
i hope helps somebody
回答3:
The plugin, is just a user interface and uses the underlying Mercurial installation.
This error occurs primarily when Mercurial Plugin for Eclipse is installed without actually installing Mercurial earlier on your system.
To solve this problem, first:
- Install Mercurial on your system using one of the installers that best suits you from here.
- Go to Window->Preferences->Team->Mercurial and in mercurial executable field, browse to the:
hg.exe
executable that was installed with the mercurial installation above.
Mercurial Plugin for Eclipse will work just fine now.
回答4:
Best solution which I found:
Install eclipse Juno
.
Goto: help -> eclipse
marketplace -> enter
'mercurial'
and do a search
, select first option of mercurial.
Then go to Windows -> Preferences -> Team -> Mercurial
select and copy path from Mercurial Executable
. Now open your previous eclipse (Luna or mars)
.
Go to same path. Windows -> Preferences -> Team -> Mercurial
and paste that path in Mercurial
Executable. Now it will work.