The "test-shortest-path" command:
Usage: fossil test-shortest-path [OPTIONS] VERSION1 VERSION2
Report the shortest path between two check-ins. Options:
- --branch-cost N
 - Additional cost N for changing branches
 - --debug
 - Show debugging output
 - --one-way
 - One-way forwards in time, parent->child only
 - --no-merge
 - Follow only direct parent-child paths and omit merge links.