# Re: Change proxy settings from command line

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 26 Feb 2008 21:24:23 +0100

Natan Vivo wrote:
> In my work, I have to switch between VPNs along the day, and I have some
> .bat scripts to map and unmap the shared drives when I do that.
>
> I would like to change the proxy settings from TortoiseSVN there too. I
> have tried the registry entry, and UI saw that it changes the registry
> when I change on the Settings UI, but I tried to change that manually
> and it doesn't seem to refresh on the UI.

I'm sorry, but I don't understand quite what didn't work. If you change
the registry settings, they will also show up in the settings dialog (as
soon as you close and reopen the dialog).
The registry entries you have to change are:
Software\\Tigris.org\\Subversion\\Servers\\global\\http-proxy-host
Software\\Tigris.org\\Subversion\\Servers\\global\\http-proxy-port
Software\\Tigris.org\\Subversion\\Servers\\global\\http-proxy-timeout

Of course, if you have edited the servers file in %APPDATA%\Subversion
then those settings take precendence over the registry settings.

Stefan

```--
___
oo  // \\      "De Chelonian Mobile"
(_,\/ \_/ \     TortoiseSVN
\ \_/_\_/>    The coolest Interface to (Sub)Version Control
/_/   \_\     http://tortoisesvn.net

```