You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by emerson <ec...@gmail.com> on 2010/10/15 09:51:36 UTC

TortoiseSVN overrides command line svn proxy configuration?

It was quite surprising today when we were having problems with the
proxy, and then we noticed that TortoiseSVN would override command
line svn. Is that suppose to happen?
After unchecking the proxy configuration on tortoisesvn, the command
line started to work again, showing command line svn was actually
using tortoise proxy configuration.

regards
Emerson

Re: TortoiseSVN overrides command line svn proxy configuration?

Posted by Johan Corveleyn <jc...@gmail.com>.
On Fri, Oct 15, 2010 at 12:42 PM, Stefan Sperling <st...@elego.de> wrote:
> On Fri, Oct 15, 2010 at 10:51:36AM +0100, emerson wrote:
>> It was quite surprising today when we were having problems with the
>> proxy, and then we noticed that TortoiseSVN would override command
>> line svn. Is that suppose to happen?
>> After unchecking the proxy configuration on tortoisesvn, the command
>> line started to work again, showing command line svn was actually
>> using tortoise proxy configuration.
>
> The proxy settings are read by the Subversion client library,
> and are thus shared between TortoiseSVN and other Subversion clients.
> So nothing is "overridden". It's shared.
>
> Just FYI, on Windows, this configuration can be stored in the registry,
> or in the "Application Data" area inside a folder called Subversion
> (something like C:\Documents and Settings\User\Subversion).
> See http://svnbook.red-bean.com/nightly/en/svn.advanced.confarea.html
>
> If you need separate configurations for clients you could either
> make the svn command client use a different configuration (see the
> --config-dir option), or you could try to make tortoise store its
> configuration elsewhere (but I don't know if that's possible).

For TortoiseSVN, see
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-settings.html#tsvn-dug-settings-registry

In the section Configuration, it says: "You can specify a different
location for the Subversion configuration file using registry location
HKCU\Software\TortoiseSVN\ConfigDir. This will affect all TortoiseSVN
operations."

Alternatively, you can specify it as an option when starting
tortoisesvn.exe (/configdir:"path\to\config\dir"). See
http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/apc.html

Cheers,
-- 
Johan

Re: TortoiseSVN overrides command line svn proxy configuration?

Posted by Stefan Sperling <st...@elego.de>.
On Fri, Oct 15, 2010 at 10:51:36AM +0100, emerson wrote:
> It was quite surprising today when we were having problems with the
> proxy, and then we noticed that TortoiseSVN would override command
> line svn. Is that suppose to happen?
> After unchecking the proxy configuration on tortoisesvn, the command
> line started to work again, showing command line svn was actually
> using tortoise proxy configuration.

The proxy settings are read by the Subversion client library,
and are thus shared between TortoiseSVN and other Subversion clients.
So nothing is "overridden". It's shared.

Just FYI, on Windows, this configuration can be stored in the registry,
or in the "Application Data" area inside a folder called Subversion
(something like C:\Documents and Settings\User\Subversion).
See http://svnbook.red-bean.com/nightly/en/svn.advanced.confarea.html

If you need separate configurations for clients you could either
make the svn command client use a different configuration (see the
--config-dir option), or you could try to make tortoise store its
configuration elsewhere (but I don't know if that's possible).

Stefan