I set global proxy settings via
System Settings>Network>Network proxy
I set the Socks host. All apps, including the command line apps successfully picked it up. But its a problem with Mercurial, which has trouble finding a PC on the same network. How do I set the system proxy settings to exempt local addresses?