Non-Working Mercurial after Mac OS X Lion (10.7) Install

Kime H. Smith, Jr. khsmith at mediakinematics.com
Fri Aug 19 15:47:09 UTC 2011


1. I recently installed Mac OS X Lion (10.7) on my laptop. Mercurial stopped working -- all attempts to run "hg" (no matter what command) resulted in the message:

	abort: file:// URLs can only refer to localhost

2. "which python" results in /usr/bin/python; python --version yields "Python 2.7.1"

3. I tried re-installing mercurial using "sudo Port install mercurial"; running "/opt/local/bin/hg" results in the same message as before:

	abort: file:// URLs can only refer to localhost

4. I then downloaded and installed the 10.7 package from selenic.com (mercurial-1.9.1+20110801-py2.7-macosx10.7.mpkg). running "/usr/local/bin/hg" I am still getting the same message:

	abort: file:// URLs can only refer to localhost

This is probably something quick and easy to fix. Can anyone on the list advise me?

Thanks in advance for your help.

Best,
Kime Smith






More information about the Mercurial mailing list