subversion的配置文件为 $HOME/.subversion/servers
打开该文件
root@ubuntu:~/.subversion# cd /root/.subversion/
root@ubuntu:~/.subversion# vi servers
编辑global代码段即可
[global]
# http-proxy-exceptions = *.exception.com, www.internal-site.org
http-proxy-host = 10.200.8.111
http-proxy-port = 909
# http-proxy-username = defaultusername
# http-proxy-password = defaultpassword
# http-compression = no
# No http-timeout, so just use the builtin default.
# No neon-debug-mask, so neon debugging is disabled.
# ssl-authority-files = /path/to/CAcert.pem;/path/to/CAcert2.pem
根据具体的代理服务器填写上面的http-proxy-host和http-proxy-port部分就可以了。
如果有特殊的授权访问需要,可能需要填写后面的用户名和密码。