Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Uninstall Mercurial on a Mac

Tags:

mercurial

I installed Mercurial, only to realize that it's not supported yet with MonoDevelop, and then realized that I have no clue how to properly uninstall it.

I've googled around and can't find anything to support uninstalling it.

like image 747
Driss Zouak Avatar asked Feb 25 '11 18:02

Driss Zouak


People also ask

How do I remove mercurial from Sourcetree?

There is no mechanism in the app to uninstall Mercurial, but you can close Sourcetree and then delete %localappdata%/Atlassian/Sourcetree/hg_local folder.


1 Answers

I did:

sudo rm /usr/local/bin/hg # To remove my local version (yours may be elsewhere)
sudo pip uninstall mercurial # To remove mercurial from my Python

Pip is not install by default so I guess you can use:

easy_install -m mercurial # Like Steve suggests

This recipe works well for me.

like image 96
Pierre Thibault Avatar answered Dec 19 '22 10:12

Pierre Thibault