Fossil

View Ticket
Login

View Ticket

Ticket Hash: ed62a4d35332595ac992655176a92a12dc50cc8c
Title: Unintuitive interpretation of p= and bt= query parameters on /timeline
Status: Fixed Type: Feature_Request
Severity: Important Priority: Immediate
Subsystem: Resolution: Fixed
Last Modified: 2023-03-24 15:22:46
Version Found In: 2.22
User Comments:
drh added on 2023-03-24 13:04:18:

The p=X and bt=Y query parameters on /timeline are designed to show all ancestors of X back to Y. However, if Y is a tag that is on multiple check-ins, it selects the most recent Y over the entire span of check-ins, not the most recent Y that occurs prior to X. For example, the following URL does not work:

https://fossil-scm.org/home/timeline?p=bed4b0f7fc586f99&bt=release

The expectation is that the URL above would work the same as the following:

https://fossil-scm.org/home/timeline?p=bed4b0f7fc586f99&bt=487776dc454b2bb6