Fossil SCM
Explain what to do in case of SQL errors when creating a new Fossil repository with the '--template' option.
Commit
be0c4615f6c68c5bf1f3ab20c84c40479cc5fa2930d32dde947a3c3730778f04
Parent
f302d31fd40b35c…
1 file changed
+2
-1
M
src/db.c
+2
-1
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -3230,11 +3230,12 @@ | ||
| 3230 | 3230 | ** repository file from which to copy the initial settings. When a template |
| 3231 | 3231 | ** repository is used, almost all of the settings accessible from the setup |
| 3232 | 3232 | ** page, either directly or indirectly, will be copied. Normal users and |
| 3233 | 3233 | ** their associated permissions will not be copied; however, the system |
| 3234 | 3234 | ** 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. | |
| 3236 | 3237 | ** |
| 3237 | 3238 | ** Options: |
| 3238 | 3239 | ** --template FILE Copy settings from repository file |
| 3239 | 3240 | ** -A|--admin-user USERNAME Select given USERNAME as admin user |
| 3240 | 3241 | ** --date-override DATETIME Use DATETIME as time of the initial check-in |
| 3241 | 3242 |
| --- 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 |