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

Re: Problem with Subversion

From: Duncan Booth <duncan.booth_at_suttoncourtenay.org.uk>
Date: 2007-11-21 11:26:39 CET

"Andy Levy" <andy.levy@gmail.com> wrote:

>> I've downloaded the package from your website but when I install it,
>> there is no Subversion directory in the C:\%HOMEPATH%\Application
>> Data directory (or anywhere else for that matter), nor is there a
>> config file. Also, if I create a Subversion directory at
>> C:\%HOMEPATH%\Application Data (or even if I don't create it) and run
>> the svn status command, no config file is created. How can I
>> overcome this problem?
>
> %HOMEPATH% isn't a literal path/directory. It's a (pseudo) environment
> variable indicating the path to your user account's "home" directory.
>
> I don't seem to have this variable defined on my XP SP2 installation
> here, and haven't heard of it before (doesn't mean it doesn't exist
> somewhere). Where did you see it referenced in this way?

The HOMEPATH environment variable (also HOMEDRIVE and HOMESHARE) may be
created when you log in to Windows, but not in all configurations.

The OP's problem is probably an extra backslash: HOMEPATH already starts
with a backslash so C:\%HOMEPATH%\Application Data isn't valid,
C:%HOMEPATH%\Application Data should work, or even
%HOMEDRIVE%%HOMEPATH%\Application Data. Also quotes are needed because of
the spaces.

%APPDATA% is probably a better bet though, if that's what Subversion
actually uses as there's no guarantee that there will be any correspondence
between HOMEPATH and APPDATA.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 21 11:30:34 2007

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.