@@ -82,5 +82,36 @@ c:\soft\bin>fossil.exe info myrep fossil.exe: unable to open database: C:\Documents and Settings\myuser\Data aplikacÝ/_fossil ATTACH DATABASE 'C:\Documents and Settings\myuser\Data aplikacÝ/_fossil' AS configdb profiling:C:\soft\msys\home\myuser\fossil/merge.gcda:Invocation mismatch - some dat a files may have been removed or concurrent update without locking support + +<hr> + + +<hr><i>On 2008-07-14 21:13:52 UTC anonymous added:</i><br /> +<nowiki><pre> +By modifying line 576 in file db.c to: + + zDbName = mprintf("%s\\_fossil", zHome); /* fills zDbName with C:\\Documents and Settings\\user\\Data aplikací\\_fossil instead of C:\\Documents and Settings\\user\\Data aplikací/_fossil */ + +AND + creating directory on C: drive "C:\Documents and Settings\user\Data aplikac" (please note one ascended character (0xa1) short from original path) + +I can get this output: + +c:\soft\bin>fossil.exe new rep01 +project-id: 3cf63a764197eaa7f82c0704bcc5cf035d65d9f2 +server-id: 9ea3a39a51325ed2212ab2ad35b2fbdc6b9979bb +admin-user: user (no password set yet!) +baseline: ef6859b040afc1987a09b3c53d75b6c7eaf398f6 +</pre></nowiki> + +(if i dont create such directory, fossil still fails with fossil.exe: unable to open database file) + +I can trace it to line 515 in db_.c: + +rc = sqlite3_open(zFileName, &db); + +where it either creates database file _fossil in doctored directory of fails with error message. + +Where to take from here? Thanks.