How to configure proxy in Mercurial?

  1. Edit your configuration files hrgc in the .hg folder
  2. Add this section:
    [http_proxy]
    host = foo.bar:8000
    passwd = password
    user = username
  3. Replace the host,password and username with the proxy server that you want to connect to.