How to configure a HTTP proxy for svn

后端 未结 6 757
猫巷女王i
猫巷女王i 2020-12-01 00:49

I want to check code from the repository http://code.sixapart.com/svn/perlbal/ . I can only access the the repository url by setting a proxy. I guess if I want to get the co

6条回答
  •  青春惊慌失措
    2020-12-01 01:10

    There are two common approaches for this:

    • Specify http-proxy- options in your /etc/.subversion/servers or %APPDATA%\Subversion\servers file,

    • Use --config-option command-line option to specify the same http-proxy- options in single command-line you run. For example,

      svn checkout ^
      --config-option servers:global:http-proxy-host= ^
      --config-option servers:global:http-proxy-port=   
      

    If you are on Windows, you can also write http-proxy- options to Windows Registry. It's pretty handy if you need to apply proxy settings in Active Directory environment via Group Policy Objects.

提交回复
热议问题