Fossil

Check-in [be0c4615f6]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Explain what to do in case of SQL errors when creating a new Fossil repository with the '--template' option.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | rebuild-fix
Files: files | file ages | folders
SHA3-256: be0c4615f6c68c5bf1f3ab20c84c40479cc5fa2930d32dde947a3c3730778f04
User & Date: tsbg 2024-06-29 12:57:44.385
Context
2024-06-30
12:22
Fix the 'rebuild' command by adding the missing columns to the schema. check-in: cb3421c493 user: tsbg tags: trunk
2024-06-29
12:57
Explain what to do in case of SQL errors when creating a new Fossil repository with the '--template' option. Closed-Leaf check-in: be0c4615f6 user: tsbg tags: rebuild-fix
12:54
Add missing columns to the schema during rebuild. check-in: f302d31fd4 user: tsbg tags: rebuild-fix
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/db.c.
3228
3229
3230
3231
3232
3233
3234
3235

3236
3237
3238
3239
3240
3241
3242
** By default, all settings will be initialized to their default values.
** This can be overridden using the --template parameter to specify a
** repository file from which to copy the initial settings.  When a template
** repository is used, almost all of the settings accessible from the setup
** page, either directly or indirectly, will be copied.  Normal users and
** their associated permissions will not be copied; however, the system
** default users "anonymous", "nobody", "reader", "developer", and their
** associated permissions will be copied.

**
** Options:
**    --template      FILE         Copy settings from repository file
**    -A|--admin-user USERNAME     Select given USERNAME as admin user
**    --date-override DATETIME     Use DATETIME as time of the initial check-in
**    --sha1                       Use an initial hash policy of "sha1"
**    --project-name  STRING       The name of the project "project name in







|
>







3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
** By default, all settings will be initialized to their default values.
** This can be overridden using the --template parameter to specify a
** repository file from which to copy the initial settings.  When a template
** repository is used, almost all of the settings accessible from the setup
** page, either directly or indirectly, will be copied.  Normal users and
** their associated permissions will not be copied; however, the system
** default users "anonymous", "nobody", "reader", "developer", and their
** associated permissions will be copied.  In case of SQL errors, rebuild the
** template repository and try again.
**
** Options:
**    --template      FILE         Copy settings from repository file
**    -A|--admin-user USERNAME     Select given USERNAME as admin user
**    --date-override DATETIME     Use DATETIME as time of the initial check-in
**    --sha1                       Use an initial hash policy of "sha1"
**    --project-name  STRING       The name of the project "project name in