[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: Ron Wilson <ronw.mrmx_at_gmail.com>
Date: Thu, 29 May 2008 12:33:07 -0400

There is a way to automatically map a drive letter to %APPDATA% when
you log into Windows. Unfortunately, I do not know how to do this.

However, I would think the TSVN team would want to preprocess paths,
before passing them to the SVN libraries, to expand %APPDATA% (and
maybe %HOMEPATH% and/or %USERPROFILE%, as well) as this is preferred
place for applications running under Windows to save user specific
settings, preferences, etc.

On Thu, May 29, 2008 at 12:00 PM, Stefan Küng <tortoisesvn_at_gmail.com> wrote:
> 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.
>
> Stefan
>
> --
> ___
> oo // \\ "De Chelonian Mobile"
> (_,\/ \_/ \ TortoiseSVN
> \ \_/_\_/> The coolest Interface to (Sub)Version Control
> /_/ \_\ http://tortoisesvn.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: users-help_at_tortoisesvn.tigris.org
Received on 2008-05-29 18:33:15 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.