I just tried to create clone of main NetBeans repository from Mercurial (OS X Leopard):
hg clone http://hg.netbeans.org/main/
and go error starting with:
Traceback (most recent call last):
File "/usr/local/bin/hg", line 18, in
mercurial.util.set_binary(fp)
...
ValueError: unknown locale: UTF-8
To fix that go to Terminal preferences and there to Settings->Advanced and uncheck ‘Set LANG environment variable on startup’ or read more at Henrik’s blog
