开发者

Delphi XE - Access https SVN server under proxy

开发者 https://www.devze.com 2023-03-18 10:52 出处:网络
I have a SVN Server over internet and I want to access it from my work where there\'s a proxy. With TortoiseSVN I just configure the Proxy Settings.

I have a SVN Server over internet and I want to access it from my work where there's a proxy. With TortoiseSVN I just configure the Proxy Settings. Can I Configur开发者_如何学JAVAe Proxy for Delphi XE SVN Plugin ??


All svn clients (at least all client using the official svn library) use the same settings files. So if you've set the proxy for TSVN, you've automatically set them for your plugin as well.


In order to use Version Insight with a SVN server over a proxy you have to do this:

  • open the file %APPDATA%\Subversion\servers in a text editor
    (for Win 7 this should be c:\Users\YourUsername\AppData\Roaming\Subversion\servers)
  • look there for the section "global"
  • add there the following names, fill in your values for them and save the file
    • http-proxy-host
    • http-proxy-port
    • http-proxy-username
    • http-proxy-password
    • http-proxy-exceptions

At the end it should look like this

[global]
http-proxy-exceptions = *.exception.com, www.internal-site.org
http-proxy-host = defaultproxy.whatever.com
http-proxy-port = 7000
http-proxy-username = defaultusername
http-proxy-password = defaultpassword

Entering the proxy information into TSVN might work too, but I have never tested this.

0

精彩评论

暂无评论...
验证码 换一张
取 消