Fossil SCM

In "fossil configuration export --since", take the start time from the value of the query with db_int64(); the return code of db_multi_exec() was used, so every entry was exported.

dmestas 2026-11-19 12:15 UTC small-fixes
Commit b233ae438e9a20a5c824393c986e9226b5553ce1aa95f39b927e90fca11919f3
1 file changed +1 -1
+1 -1
--- src/configure.c
+++ src/configure.c
@@ -845,11 +845,11 @@
845845
if( g.argc!=5 ){
846846
usage("export AREA FILENAME");
847847
}
848848
mask = configure_name_to_mask(g.argv[3], 1);
849849
if( zSince ){
850
- iStart = db_multi_exec(
850
+ iStart = db_int64(0,
851851
"SELECT coalesce(strftime('%%s',%Q),strftime('%%s','now',%Q))+0",
852852
zSince, zSince
853853
);
854854
}else{
855855
iStart = 0;
856856
--- src/configure.c
+++ src/configure.c
@@ -845,11 +845,11 @@
845 if( g.argc!=5 ){
846 usage("export AREA FILENAME");
847 }
848 mask = configure_name_to_mask(g.argv[3], 1);
849 if( zSince ){
850 iStart = db_multi_exec(
851 "SELECT coalesce(strftime('%%s',%Q),strftime('%%s','now',%Q))+0",
852 zSince, zSince
853 );
854 }else{
855 iStart = 0;
856
--- src/configure.c
+++ src/configure.c
@@ -845,11 +845,11 @@
845 if( g.argc!=5 ){
846 usage("export AREA FILENAME");
847 }
848 mask = configure_name_to_mask(g.argv[3], 1);
849 if( zSince ){
850 iStart = db_int64(0,
851 "SELECT coalesce(strftime('%%s',%Q),strftime('%%s','now',%Q))+0",
852 zSince, zSince
853 );
854 }else{
855 iStart = 0;
856

Keyboard Shortcuts

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