On Wed, Jan 14, 2009 at 12:49:59 -0600, Kari Hoijarvi wrote: > "C:\Documents and Settings\hoijarvi\.darcs\boring" didn't have effect.
Does %UserProfile%\Application Data\darcs work?
Thanks!
For the interested, I think this is the relevant snippet of darcs code:
global_prefs_dir :: IO (Maybe FilePath)
global_prefs_dir = do
dir <- (</> ".darcs") `fmap` getEnv "DARCS_TESTING_HOME"
exists <- doesDirectoryExist dir
if exists then return $ Just dir
else userDir
`catch` \_ -> userDir -- no such environment variable
where userDir = (getAppUserDataDirectory "darcs" >>= return.Just)
`catchall` (return Nothing)
--
Eric Kow <http://www.nltg.brighton.ac.uk/home/Eric.Kow>
PGP Key ID: 08AC04F9
signature.asc
Description: Digital signature
_______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
