Fossil SCM

For /timeline with d= and ft=NAME, resolve NAME as a check-in name when it is not a tag. The fallback looked up the bt= parameter instead, so ft= with a hash was ignored. A name that cannot be resolved is now an error, as for bt=.

dmestas 2026-11-22 11:47 UTC small-fixes
Commit e94701edb2e7ffd08a80c50ecc0fc00241c1403ca929f5b7a97b6cd101efe6a8
1 file changed +1 -1
+1 -1
--- src/timeline.c
+++ src/timeline.c
@@ -2558,11 +2558,11 @@
25582558
}
25592559
if( zFwdTo ){
25602560
double rStartDate = mtime_of_rid(d_rid, 0.0);
25612561
ridFwdTo = first_checkin_with_tag_after_date(zFwdTo, rStartDate);
25622562
if( ridFwdTo==0 ){
2563
- ridFwdTo = name_to_typed_rid(zBackTo,"ci");
2563
+ ridFwdTo = name_to_typed_rid(zFwdTo,"ci");
25642564
}
25652565
if( ridFwdTo ){
25662566
if( !haveParameterN ) nEntry = 0;
25672567
rStopTime = mtime_of_rid(ridFwdTo, 9e99);
25682568
}
25692569
--- src/timeline.c
+++ src/timeline.c
@@ -2558,11 +2558,11 @@
2558 }
2559 if( zFwdTo ){
2560 double rStartDate = mtime_of_rid(d_rid, 0.0);
2561 ridFwdTo = first_checkin_with_tag_after_date(zFwdTo, rStartDate);
2562 if( ridFwdTo==0 ){
2563 ridFwdTo = name_to_typed_rid(zBackTo,"ci");
2564 }
2565 if( ridFwdTo ){
2566 if( !haveParameterN ) nEntry = 0;
2567 rStopTime = mtime_of_rid(ridFwdTo, 9e99);
2568 }
2569
--- src/timeline.c
+++ src/timeline.c
@@ -2558,11 +2558,11 @@
2558 }
2559 if( zFwdTo ){
2560 double rStartDate = mtime_of_rid(d_rid, 0.0);
2561 ridFwdTo = first_checkin_with_tag_after_date(zFwdTo, rStartDate);
2562 if( ridFwdTo==0 ){
2563 ridFwdTo = name_to_typed_rid(zFwdTo,"ci");
2564 }
2565 if( ridFwdTo ){
2566 if( !haveParameterN ) nEntry = 0;
2567 rStopTime = mtime_of_rid(ridFwdTo, 9e99);
2568 }
2569

Keyboard Shortcuts

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