To install Mercurial support in NetBeans, do the following:
- Get Mercurial and install it. On Mac you can install it via MacPorts
- Get NetBeans 6 and install it
- Install the Mercurial plugin via
Tools->Plugins->Available Plugins->Mercurial
- Restart the IDE
- If
Versioning->Mercurials
in the menu bar is disabled, go toTools->Options->Miscelanious->Mercurial
(on MacNetBeans->Preferences->Miscelanious->Mercurial
) and verify thatMercurial executable path
is set up correctly - in my case, since I installed Mercurial via MacPorts, the path should be/opt/local/bin
- Restart the IDE
The problem, I encountered already twice, is that if the
Mercurial executable path
is not set up properly, the Versioning->Mercurials
menu item is disabled and NetBeans doesn't give you any hint as to what went wrong. For some reason the path on my Mac is by default pointing to my python directory, which is not correct. Once the path is corrected and the IDE is restarted, everything works as expected.
No comments:
Post a Comment