[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: supporting http proxy via a config file

From: Alan Langford <jal_at_ambitonline.com>
Date: 2002-03-12 23:25:34 CET

At 2002/03/12 16:17 -0600, Karl Fogel wrote:
> > This feature (variable expansion in the include file path) is something
> > that I haven't seen discussed. Maybe I've missed it.
>I didn't understand that part either, I just thought the important
>part of the proposal was the support for included files.

Here's an example of what I meant. Forgive me for making syntax up on the
config_path = "home"
;config_path = "work"

#include "usr/jal/configs/" + config_path + "/proxy.ini"

A simpler, non-recursive approach to this problem might be to allow the
user to specify a "supplemental" config file that retains all the context
(i.e. variables) of the "default" config file and then overrides settings.
For example, the command line


Reads defualt.ini. Whereas

myprog -subconfig home.ini

reads default.ini, followed by home.ini, as though the two files were appended.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 12 23:26:32 2002

This is an archived mail posted to the Subversion Dev mailing list.