Ticket Change Details
Not logged in
Overview

Artifact ID: 010eb63924a04d6359c6a0e5ca2582cadf81fed8
Ticket: 44002a7760cf54060b426865bcdca5b81421cad1
cannot locate home directory - please set the HOMEPATH environment variable
User & Date: anonymous 2011-05-08 15:57:52
Changes

  1. Appended to comment:
    
    
    <hr /><i>anonymous added on 2011-05-08 15:57:52 UTC:</i><br />
    Current fossil behaviour causes problems at least on Windows 7.
    On my system (Win 7 Home Basic 32 bit) HOMEPATH variable contains path, relative to HOMEDRIVE value, while USERPROFILE contains full path including drive name. Using HOMEPATH causes wrong behaviour when fossil invoked on the drive, other than HOMEDRIVE. For example using path \Users\joe from directory D:\someproject makes fossil search user profile directory at D:\Users\joe which is obviously wrong.
    I believe fossil should rather use USERPROFILE or construct full path by combining HOMEDRIVE and HOMEPATH values.