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

Augie Fackler durin42 at gmail.com
Sat Aug 20 22:25:43 UTC 2011


On 8/19/2011 10:47 AM, Kime H. Smith, Jr. wrote:
>
> 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.

Are you sure you're running the right 'hg' binary? What does `which hg` say?

>
> Best,
> Kime Smith
>
>
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial




More information about the Mercurial mailing list