Fossil SCM
Make timeline-plaintext the default for new repositories.
Commit
ae63f485715c09894345299a1f205f74dc484224
Parent
340040a8a547825…
1 file changed
+3
M
src/db.c
+3
| --- src/db.c | ||
| +++ src/db.c | ||
| @@ -1312,10 +1312,13 @@ | ||
| 1312 | 1312 | " VALUES('project-code', lower(hex(randomblob(20))),now());" |
| 1313 | 1313 | ); |
| 1314 | 1314 | } |
| 1315 | 1315 | if( !db_is_global("autosync") ) db_set_int("autosync", 1, 0); |
| 1316 | 1316 | if( !db_is_global("localauth") ) db_set_int("localauth", 0, 0); |
| 1317 | + if( !db_is_global("timeline-plaintext") ){ | |
| 1318 | + db_set_int("timeline-plaintext", 1, 0); | |
| 1319 | + } | |
| 1317 | 1320 | db_create_default_users(0, zDefaultUser); |
| 1318 | 1321 | user_select(); |
| 1319 | 1322 | |
| 1320 | 1323 | if( zTemplate ){ |
| 1321 | 1324 | /* |
| 1322 | 1325 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1312,10 +1312,13 @@ | |
| 1312 | " VALUES('project-code', lower(hex(randomblob(20))),now());" |
| 1313 | ); |
| 1314 | } |
| 1315 | if( !db_is_global("autosync") ) db_set_int("autosync", 1, 0); |
| 1316 | if( !db_is_global("localauth") ) db_set_int("localauth", 0, 0); |
| 1317 | db_create_default_users(0, zDefaultUser); |
| 1318 | user_select(); |
| 1319 | |
| 1320 | if( zTemplate ){ |
| 1321 | /* |
| 1322 |
| --- src/db.c | |
| +++ src/db.c | |
| @@ -1312,10 +1312,13 @@ | |
| 1312 | " VALUES('project-code', lower(hex(randomblob(20))),now());" |
| 1313 | ); |
| 1314 | } |
| 1315 | if( !db_is_global("autosync") ) db_set_int("autosync", 1, 0); |
| 1316 | if( !db_is_global("localauth") ) db_set_int("localauth", 0, 0); |
| 1317 | if( !db_is_global("timeline-plaintext") ){ |
| 1318 | db_set_int("timeline-plaintext", 1, 0); |
| 1319 | } |
| 1320 | db_create_default_users(0, zDefaultUser); |
| 1321 | user_select(); |
| 1322 | |
| 1323 | if( zTemplate ){ |
| 1324 | /* |
| 1325 |