XP系统在C:\Documents and Settings\Administrator\Application Data\Subversion目录下

win7及以上系统在C:\Users\admin\AppData\Roaming\Subversion目录下

PS:最好显示隐藏的文件,方法参见:http://www.cnblogs.com/fanqf/p/9012706.html

1、在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设置好了代理。

2、如果只想给特定的域名设置代理,可以使用另一个section来配置代理:

 [groups]
    group1 = *.abc.com 需要设置代理的域名
    # othergroup = repository.blarggitywhoomph.com
    # thirdgroup = *.example.com
     
    ### Information for the first group:
    [group1]
    http-proxy-host = proxy.myoffice.com 代理ip
    http-proxy-port = 8080 代理端口
    # http-proxy-username = blah
    # http-proxy-password = doubleblah
    # http-timeout = 60

如上就是配置的一个节选,是给abc.com这个域配置了一个代理。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-28
  • 2021-07-13
  • 2022-03-09
  • 2022-01-19
  • 2022-01-10
  • 2022-12-23
猜你喜欢
  • 2022-03-04
  • 2022-12-23
  • 2021-09-08
  • 2022-12-23
  • 2021-11-30
  • 2021-11-12
相关资源
相似解决方案