error in installing mercurial plugin for eclipse

天涯浪子 提交于 2019-12-08 19:16:38

问题


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:

  1. Install Mercurial on your system using one of the installers that best suits you from here.
  2. 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:

  1. Install eclipse Juno.

  2. Goto: help -> eclipse marketplace -> enter 'mercurial' and do a search, select first option of mercurial.

  3. Then go to Windows -> Preferences -> Team -> Mercurial select and copy path from Mercurial Executable. Now open your previous eclipse (Luna or mars).

  4. Go to same path. Windows -> Preferences -> Team -> Mercurialand paste that path in Mercurial Executable. Now it will work.



来源:https://stackoverflow.com/questions/17089918/error-in-installing-mercurial-plugin-for-eclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!