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

Re: Using WinXP Environment Variables in Servers Config File

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 29 May 2008 18:00:36 +0200

Wenzel, Norbert wrote:
> Hi,
> I'm running my own certificate authority and want that CA to be
> recognized by TortoiseSVN. I edited the ssl-authority-files part of the
> configuration and added an absolute path, eg. C:\My Folder With
> Spaces\myCA.crt. Worked fine. So even the folder with spaces works
> without any quotation marks.
> Next I wanted to change the path to a user-specific directory, eg.
> %APPDATA%/Subversion/certs/myCA.crt. When doing a checkout from a server
> with a certificate signed by myCA I get an error message, that the
> configuration file is invalid. (Error: Invalid config: unable to load
> certificate file '%APPDATA%\Subversion\myCA.crt') I tried forward and
> backward slashes, removing slashes after the % and quotation marks.
> Is there any possibility to use a windows environment variable in that path?

I don't think that's possible. The config files are handled by the
Subversion library, and that code does not expand env variables. You'd
have to ask on the Subversion mailing list for that feature.


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net

Received on 2008-05-29 18:01:08 CEST

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

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