Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseSVN through a proxy script

I'm attempting to connect to a remote HTTPS SVN server from inside a corporate firewall using TortoiseSVN. I am required to use a proxy for this connection. My problem is that TortoiseSVN's proxy settings only include an option to set a direct proxy server address. The proxy I am connecting through, however, is configured via a script. In Firefox, for example, I use the "Automatic proxy configuration URL" option in the network settings.

Is there any way to use a proxy configuration scripts with Tortoise? I can't find one in the config UI - is there a way to configure it through editing a config file?

like image 679
matthock Avatar asked Aug 03 '09 15:08

matthock


1 Answers

There may be a cleaner way to do this but you could simply get the URL of the automatic configuration file from your firefox settings and open it: .pac files are raw text with a fairly simple syntax.

Extracting the ip/port and other configuration info for your corporate proxy from that file should be relatively simple (look for the one that applies to your IP range if there are more than one).

Obviously, this isn't very pretty in the sense that, if the proxy configuration changes, you'll have to do this again instead of benefiting from the automated settings. In practice, this simple trick has been very useful for everything from Putty to TortoiseSVN for me !

like image 130
Nicolas Lefebvre Avatar answered Nov 06 '22 14:11

Nicolas Lefebvre