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

Re: 0.29.0 - PKCS12 Certificates Only?

From: Tobias Ringström <tobias_at_ringstrom.mine.nu>
Date: 2003-09-09 00:51:39 CEST

Branko Čibej wrote:
> You can't expand environment variables in the config files, but you can
> do something better. Try something like this in your servers file:
>
> [DEFAULT]
> certs-path = C:\Documents and Settings\tobias\Application Data\Subversion\certs

Yikes - this is the problem. It's long, ugly and hard to type. You also
need double backslashes or single forward slashes so you cannot do
copy+paste without (minor) manual intervention. This is soo much easier:

        /home/tori/.subversion

It would be really nice to have a pre-defined variable such as
%(user-config-dir) or something, but now I'm just dreaming.

> then later on you can use variable replacement:
>
> [global]
> ssl-authorities-file = %(certs-path)s\CAcert.pem

Cool!

> The README.txt file in the config dir explains this syntax; or, you can
> read the docs for Python's ConfigParser module.

I'll do that, thanks!

/Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 9 00:53:55 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.