Fossil SCM

Explain what to do in case of SQL errors when creating a new Fossil repository with the '--template' option.

tsbg 2024-06-29 12:57 rebuild-fix
Commit be0c4615f6c68c5bf1f3ab20c84c40479cc5fa2930d32dde947a3c3730778f04
1 file changed +2 -1
+2 -1
--- src/db.c
+++ src/db.c
@@ -3230,11 +3230,12 @@
32303230
** repository file from which to copy the initial settings. When a template
32313231
** repository is used, almost all of the settings accessible from the setup
32323232
** page, either directly or indirectly, will be copied. Normal users and
32333233
** their associated permissions will not be copied; however, the system
32343234
** default users "anonymous", "nobody", "reader", "developer", and their
3235
-** associated permissions will be copied.
3235
+** associated permissions will be copied. In case of SQL errors, rebuild the
3236
+** template repository and try again.
32363237
**
32373238
** Options:
32383239
** --template FILE Copy settings from repository file
32393240
** -A|--admin-user USERNAME Select given USERNAME as admin user
32403241
** --date-override DATETIME Use DATETIME as time of the initial check-in
32413242
--- src/db.c
+++ src/db.c
@@ -3230,11 +3230,12 @@
3230 ** repository file from which to copy the initial settings. When a template
3231 ** repository is used, almost all of the settings accessible from the setup
3232 ** page, either directly or indirectly, will be copied. Normal users and
3233 ** their associated permissions will not be copied; however, the system
3234 ** default users "anonymous", "nobody", "reader", "developer", and their
3235 ** associated permissions will be copied.
 
3236 **
3237 ** Options:
3238 ** --template FILE Copy settings from repository file
3239 ** -A|--admin-user USERNAME Select given USERNAME as admin user
3240 ** --date-override DATETIME Use DATETIME as time of the initial check-in
3241
--- src/db.c
+++ src/db.c
@@ -3230,11 +3230,12 @@
3230 ** repository file from which to copy the initial settings. When a template
3231 ** repository is used, almost all of the settings accessible from the setup
3232 ** page, either directly or indirectly, will be copied. Normal users and
3233 ** their associated permissions will not be copied; however, the system
3234 ** default users "anonymous", "nobody", "reader", "developer", and their
3235 ** associated permissions will be copied. In case of SQL errors, rebuild the
3236 ** template repository and try again.
3237 **
3238 ** Options:
3239 ** --template FILE Copy settings from repository file
3240 ** -A|--admin-user USERNAME Select given USERNAME as admin user
3241 ** --date-override DATETIME Use DATETIME as time of the initial check-in
3242

Keyboard Shortcuts

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