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=.
Commit
e94701edb2e7ffd08a80c50ecc0fc00241c1403ca929f5b7a97b6cd101efe6a8
Parent
cf33e7e2ed3eef1…
1 file changed
+1
-1
+1
-1
| --- src/timeline.c | ||
| +++ src/timeline.c | ||
| @@ -2558,11 +2558,11 @@ | ||
| 2558 | 2558 | } |
| 2559 | 2559 | if( zFwdTo ){ |
| 2560 | 2560 | double rStartDate = mtime_of_rid(d_rid, 0.0); |
| 2561 | 2561 | ridFwdTo = first_checkin_with_tag_after_date(zFwdTo, rStartDate); |
| 2562 | 2562 | if( ridFwdTo==0 ){ |
| 2563 | - ridFwdTo = name_to_typed_rid(zBackTo,"ci"); | |
| 2563 | + ridFwdTo = name_to_typed_rid(zFwdTo,"ci"); | |
| 2564 | 2564 | } |
| 2565 | 2565 | if( ridFwdTo ){ |
| 2566 | 2566 | if( !haveParameterN ) nEntry = 0; |
| 2567 | 2567 | rStopTime = mtime_of_rid(ridFwdTo, 9e99); |
| 2568 | 2568 | } |
| 2569 | 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(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 |