Fossil SCM

In the Windows server document, provide a command to get the temporary path location as used by Fossil.

danield 2023-03-10 23:06 trunk
Commit 1f184d0e82da4c56b5e5f475346dd4f07994895e3cb83fc74e344fddb9497672
+1
--- src/file.c
+++ src/file.c
@@ -59,10 +59,11 @@
5959
** RepoFILE Like SymFILE if allow-symlinks is true, or like
6060
** ExtFILE if allow-symlinks is false. In other words,
6161
** symbolic links are only recognized as something different
6262
** from files or directories if allow-symlinks is true.
6363
*/
64
+#include <stdlib.h>
6465
#define ExtFILE 0 /* Always follow symlinks */
6566
#define RepoFILE 1 /* Follow symlinks if and only if allow-symlinks is OFF */
6667
#define SymFILE 2 /* Never follow symlinks */
6768
6869
#include <dirent.h>
6970
--- src/file.c
+++ src/file.c
@@ -59,10 +59,11 @@
59 ** RepoFILE Like SymFILE if allow-symlinks is true, or like
60 ** ExtFILE if allow-symlinks is false. In other words,
61 ** symbolic links are only recognized as something different
62 ** from files or directories if allow-symlinks is true.
63 */
 
64 #define ExtFILE 0 /* Always follow symlinks */
65 #define RepoFILE 1 /* Follow symlinks if and only if allow-symlinks is OFF */
66 #define SymFILE 2 /* Never follow symlinks */
67
68 #include <dirent.h>
69
--- src/file.c
+++ src/file.c
@@ -59,10 +59,11 @@
59 ** RepoFILE Like SymFILE if allow-symlinks is true, or like
60 ** ExtFILE if allow-symlinks is false. In other words,
61 ** symbolic links are only recognized as something different
62 ** from files or directories if allow-symlinks is true.
63 */
64 #include <stdlib.h>
65 #define ExtFILE 0 /* Always follow symlinks */
66 #define RepoFILE 1 /* Follow symlinks if and only if allow-symlinks is OFF */
67 #define SymFILE 2 /* Never follow symlinks */
68
69 #include <dirent.h>
70
--- www/server/windows/service.md
+++ www/server/windows/service.md
@@ -52,13 +52,14 @@
5252
5353
When the Fossil server will be used at times that files may be locked
5454
during virus scanning, it is prudent to arrange that its directory used
5555
for temporary files is exempted from such scanning. Ordinarily, this
5656
will be a subdirectory named "fossil" in the temporary directory given
57
-by the Windows GetTempDir(...) API. Excluding this subdirectory will
58
-avoid certain rare failures where the fossil.exe process is unable to
59
-use the directory normally during a scan.
57
+by the Windows GetTempPath(...) API - you can find its value, for example,
58
+by executing `[System.IO.Path]::GetTempPath()` in a Powershell console.
59
+Excluding this subdirectory will avoid certain rare failures where the
60
+fossil.exe process is unable to use the directory normally during a scan.
6061
6162
### <a id='PowerShell'></a>Advanced service installation using PowerShell
6263
6364
As great as `fossil winsrv` is, it does not have one to one reflection of all of
6465
the `fossil server` [options](/help?cmd=server). When you need to use some of
6566
--- www/server/windows/service.md
+++ www/server/windows/service.md
@@ -52,13 +52,14 @@
52
53 When the Fossil server will be used at times that files may be locked
54 during virus scanning, it is prudent to arrange that its directory used
55 for temporary files is exempted from such scanning. Ordinarily, this
56 will be a subdirectory named "fossil" in the temporary directory given
57 by the Windows GetTempDir(...) API. Excluding this subdirectory will
58 avoid certain rare failures where the fossil.exe process is unable to
59 use the directory normally during a scan.
 
60
61 ### <a id='PowerShell'></a>Advanced service installation using PowerShell
62
63 As great as `fossil winsrv` is, it does not have one to one reflection of all of
64 the `fossil server` [options](/help?cmd=server). When you need to use some of
65
--- www/server/windows/service.md
+++ www/server/windows/service.md
@@ -52,13 +52,14 @@
52
53 When the Fossil server will be used at times that files may be locked
54 during virus scanning, it is prudent to arrange that its directory used
55 for temporary files is exempted from such scanning. Ordinarily, this
56 will be a subdirectory named "fossil" in the temporary directory given
57 by the Windows GetTempPath(...) API - you can find its value, for example,
58 by executing `[System.IO.Path]::GetTempPath()` in a Powershell console.
59 Excluding this subdirectory will avoid certain rare failures where the
60 fossil.exe process is unable to use the directory normally during a scan.
61
62 ### <a id='PowerShell'></a>Advanced service installation using PowerShell
63
64 As great as `fossil winsrv` is, it does not have one to one reflection of all of
65 the `fossil server` [options](/help?cmd=server). When you need to use some of
66

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button