Fossil SCM

Make timeline-plaintext the default for new repositories.

drh 2012-11-23 23:00 UTC ticket-enhancements
Commit ae63f485715c09894345299a1f205f74dc484224
1 file changed +3
+3
--- src/db.c
+++ src/db.c
@@ -1312,10 +1312,13 @@
13121312
" VALUES('project-code', lower(hex(randomblob(20))),now());"
13131313
);
13141314
}
13151315
if( !db_is_global("autosync") ) db_set_int("autosync", 1, 0);
13161316
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
+ }
13171320
db_create_default_users(0, zDefaultUser);
13181321
user_select();
13191322
13201323
if( zTemplate ){
13211324
/*
13221325
--- 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

Keyboard Shortcuts

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