You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Greg Hudson <gh...@MIT.EDU> on 2002/12/06 14:45:10 UTC
Heads up: config option name changes
As of revision 4026, many configuration option names have changed.
(For tarball users, this change will presumably appear in some future
0.17; don't worry about it until then.) If you have set up any
configuration in your .subversion directory, you will have to update
it. Here are the changes:
In .subversion/config:
editor_cmd -> editor-cmd
store_password -> store-password
diff-cmd -> diff_cmd
diff3_cmd -> diff3-cmd
diff3_has_program_arg -> diff3-has-program-arg
global_ignores -> global-ignores
In .subversion/servers:
host -> http-proxy-host
port -> http-proxy-port
username -> http-proxy-username
password -> http-proxy-password
timeout -> http-timeout
no_proxy -> no-http-proxy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Heads up: config option name changes
Posted by Karl Fogel <kf...@newton.ch.collab.net>.
Daniel Rall <dl...@finemaltcoding.com> writes:
> I will commit this if no one voices any clarifictions or objections.
You beat me to it. Reverting my patch... :-)
I have no fictions, clear or otherwise.
-K
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Heads up: config option name changes
Posted by Daniel Rall <dl...@finemaltcoding.com>.
Greg Hudson <gh...@MIT.EDU> writes:
> On Fri, 2002-12-06 at 13:02, Daniel Rall wrote:
> > Any thoughts on renaming this to something like http-proxy-ignores or
> > http-proxy-exceptions to use a uniform namespace?
>
> I thought about it briefly and didn't come up with a good name. But
> http-proxy-exceptions sounds fine. But I think I will let someone else
> commit that change if they agree that it's a good idea.
I will commit this if no one voices any clarifictions or objections.
* subversion/libsvn_subr/config_file.c
(svn_config_ensure): Renamed no-http-proxy configuration parameter
to http-proxy-exceptions.
* subversion/libsvn_ra_dav/session.c
(get_server_settings): Renamed no-http-proxy configuration parameter
to http-proxy-exceptions.
Index: subversion/libsvn_subr/config_file.c
===================================================================
--- subversion/libsvn_subr/config_file.c (revision 4031)
+++ subversion/libsvn_subr/config_file.c (working copy)
@@ -687,10 +687,10 @@
"### any other sections.\n"
"### \n"
"### If you go through a proxy for all but a few sites, you can\n"
- "### list those exceptions under `no-http-proxy', see below. This\n"
- "### only overrides defaults, not explicitly matched proxies.\n"
+ "### list those exceptions under `http-proxy-exceptions', see below.\n"
+ "### This only overrides defaults, not explicitly matched proxies.\n"
"# [default]\n"
- "# no-http-proxy = *.exception.com, www.internal-site.org\n"
+ "# http-proxy-exceptions = *.exception.com, www.internal-site.org\n"
"# http-proxy-host = defaultproxy.whatever.com\n"
"# http-proxy-port = 7000\n"
"# http-proxy-username = defaultusername\n"
Index: subversion/libsvn_ra_dav/session.c
===================================================================
--- subversion/libsvn_ra_dav/session.c (revision 4031)
+++ subversion/libsvn_ra_dav/session.c (working copy)
@@ -156,7 +156,7 @@
/* If there are defaults, use them, but only if the requested host
is not one of the exceptions to the defaults. */
- svn_config_get(cfg, &exceptions, "default", "no-http-proxy", NULL);
+ svn_config_get(cfg, &exceptions, "default", "http-proxy-exceptions", NULL);
if ((! exceptions) || (! svn_cstring_match_glob_list(requested_host,
exceptions, pool)))
{
--
Daniel Rall <dl...@finemaltcoding.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Heads up: config option name changes
Posted by Greg Hudson <gh...@MIT.EDU>.
On Fri, 2002-12-06 at 13:02, Daniel Rall wrote:
> Any thoughts on renaming this to something like http-proxy-ignores or
> http-proxy-exceptions to use a uniform namespace?
I thought about it briefly and didn't come up with a good name. But
http-proxy-exceptions sounds fine. But I think I will let someone else
commit that change if they agree that it's a good idea.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Heads up: config option name changes
Posted by Daniel Rall <dl...@finemaltcoding.com>.
Greg Hudson <gh...@MIT.EDU> writes:
> no_proxy -> no-http-proxy
### If you go through a proxy for all but a few sites, you can
### list those exceptions under `no-http-proxy', see below. This only
### overrides defaults, not explicitly matched proxies.
# no-http-proxy = *.exception.com, www.internal-site.org
Any thoughts on renaming this to something like http-proxy-ignores or
http-proxy-exceptions to use a uniform namespace?
--
Daniel Rall <dl...@finemaltcoding.com>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Heads up: config option name changes
Posted by Greg Hudson <gh...@MIT.EDU>.
On Fri, 2002-12-06 at 09:49, Alexander Sabourenkov wrote:
> > diff-cmd -> diff_cmd
> ^^^ ^^^
> Hmm. A typo?
Whoops, yes; obviously it was the other way around.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: Heads up: config option name changes
Posted by Alexander Sabourenkov <sc...@lxnt.info>.
Hello.
Greg Hudson wrote:
[...]
>
> In .subversion/config:
> editor_cmd -> editor-cmd
> store_password -> store-password
> diff-cmd -> diff_cmd
^^^ ^^^
Hmm. A typo?
--
./lxnt
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org