问题
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 asearch
, select first option of mercurial.Then go to
Windows -> Preferences -> Team -> Mercurial
select and copy path fromMercurial Executable
. Now open your previouseclipse (Luna or mars)
.Go to same path.
Windows -> Preferences -> Team -> Mercurial
and paste that path inMercurial
Executable. Now it will work.
来源:https://stackoverflow.com/questions/17089918/error-in-installing-mercurial-plugin-for-eclipse