Error installing Mercurial plugin for eclipse

I just installed a mercury eclipse plugin. The installation process was successful. But after installation, when I restarted eclipse, an error was shown.

The error says:

Multiple Mercurial errors have occurred. See the Error Log view for details. Command Prompt: hg -y debuginstall

I cannot find a possible solution for this.

+6
source share
4 answers

Try running hg -y debuginstall from the command line. It should show something like this:

 Checking encoding (cp1252)... Checking installed modules (D:\Kazan\mercurial\library.zip\mercurial)... Checking templates... Checking commit editor... Checking username... No problems detected 

If this is not the case, this should give you an indication of what the problem is. If the command is not found, install mercurial from https://www.mercurial-scm.org/wiki/Download or install the turtle-hg from http://tortoisehg.bitbucket.io/

+10
source

A plugin is just a user interface and uses a basic installation of Mercurial .

This error occurs primarily when installing Mercurial Plugin for Eclipse without actually installing Mercurial earlier on your system.

To solve this problem, first:

  • Install Mercurial on your system using one of those installers that suits you best. here .
  • Go to Window-> Settings-> Command-> Mercury and in the mercury executable field, go to:

hg.exe

which was installed using the mercury installation above.

Mercurial Plugin for Eclipse will now work fine.

+1
source

I found the same problem ... it seems my Nvidia driver update removes all my environment variables and Mercurial can find the notepad.exe I found adding a solution to mercurial.ini in the Users folder by adding the path to notepad.exe directly.

 [ui] username=myusername editor = c:\\Windows\\System32\\notepad.exe ignore=.... 

I found a solution here

I hope someone helped

0
source

The best solution I found:

  • Install eclipse Juno .

  • Go to: help -> eclipse marketplace -> enter 'mercurial' and do a search , select the first option for mercurial.

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

  • Go to the same path. Windows -> Preferences -> Team -> Mercurial and paste this path into the Mercurial Executable. Now it will work.

0
source

Source: https://habr.com/ru/post/947223/


All Articles