1.
Http_proxy=http://proxy_server:4242.
2.
hg clone <TheURl> <Optional Folder Name> --config=http_proxy.host=<proxy URL>