要配置subversion的代理服务器,需要修改$HOME/.subversion/servers文件,在此文件的[global]段加上:
http-proxy-host = 192.168.1.1
http-proxy-port = 8080
http-proxy-username = user
http-proxy-password = password
注意以上配置前面不要留有空格,否则使用svn时会出现如下错误
.subversion/servers:68: Option expected