给SVN或者TortoiseSVN设置代理的方法

在C:\Documents and Settings\Administrator\Application Data\Subversion的server配置文件下找到[global]节点
然后添加
http-proxy-host = 172.100.1.28  代理ip
http-proxy-port = 8080   代理端口
http-proxy-username = haoxw   svn用户名
http-proxy-password = haoxw12   svn密码

配置好后,就可以实现给SVN客户端挂上了代理,如果只想给特定的域挂代理,就使用另一个section来配置代理:

    [groups]
    group1 = *.googlecode.com
    # othergroup = repository.blarggitywhoomph.com
    # thirdgroup = *.example.com
     
    ### Information for the first group:
    [group1]
    http-proxy-host = proxy.myoffice.com
    http-proxy-port = 8080
    # http-proxy-username = blah
    # http-proxy-password = doubleblah
    # http-timeout = 60

如上只是我的配置的一个节选,是我给googlecode这个域配置了一个代理。

原文地址:https://www.cnblogs.com/jiji262/p/2332696.html