Mercurial installation woes on Mac OS X

Published on 2009-09-30 12:15:00+00:00
Mac   OS   Python   X   hg   mercurial  

I started using mercurial around version 1.2, and I'm pretty sure I used the Mac OS X installer (from to install 1.2.1. This placed hg in /Library/Frameworks/Python.framework/Versions/Current/bin/.

Now, I've decided to upgrade to 1.3.1, and I again grab the Mac OS X installer (again from, which installs hg in /usr/local/bin/.

Ok, but my path is set up so that the older version is used by default... Is there a preferred way to remove the older version of mercurial?

I just renamed the file: /Library/Frameworks/Python.framework/Versions/Current/bin/hg to hg-1.2.1, and source'd my .profile so that the new version (/usr/local/bin/hg) gets used instead.

This does not seem like a good way to upgrade. :(

this is all relevant to Mac OS X 10.5.8