Discussion:
TortoiseSVN overrides command line svn proxy configuration?
emerson
2010-10-15 09:51:36 UTC
Permalink
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
Stefan Sperling
2010-10-15 10:42:43 UTC
Permalink
Post by emerson
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
Johan Corveleyn
2010-10-15 11:27:31 UTC
Permalink
Post by Stefan Sperling
Post by emerson
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
Loading...