在C:\Users\Francis\Application Data\Subversion的servers配置文件下找到[global]节点
然后添加
http-proxy-host = 127.0.0.1 #代理ip
http-proxy-port = 8087 # 代理端口
#以下两个需要用户名和密码的时候才去配置。
http-proxy-username = xxx #svn用户名
http-proxy-password = xxx #svn密码
http-proxy-port = 8087 # 代理端口
#以下两个需要用户名和密码的时候才去配置。
http-proxy-username = xxx #svn用户名
http-proxy-password = xxx #svn密码
配置好后,就可以实现给SVN客户端挂上了代理。
如果只想给特定的域挂代理,就使用[groups]来配置代理:
[groups]
group1 = *.googlecode.com
# othergroup = repository.blarggitywhoomph.com
# thirdgroup = *.example.com
### Information for the first group:
[group1]
http-proxy-host = 127.0.0.1
http-proxy-port = 8087
# http-proxy-username = xxx
# http-proxy-password = xxx
# http-timeout = 60
group1 = *.googlecode.com
# othergroup = repository.blarggitywhoomph.com
# thirdgroup = *.example.com
### Information for the first group:
[group1]
http-proxy-host = 127.0.0.1
http-proxy-port = 8087
# http-proxy-username = xxx
# http-proxy-password = xxx
# http-timeout = 60