Find first common descendent
(1) By Scott Pitcher (scottyatsvptech) on 2025-06-13 02:03:12 [link] [source]
Hi, Is there a command available for finding the first common descendant from 2 different commits or branches?
Might be something like: fossil findfirst.... tag-or-branch1 tag-or-branch2.
A practical example could be. Using two branch names here:
fossil findfirst.... core-8-6-branch tk-print
Kind regards, Scott
(2) By Richard Hipp (drh) on 2025-06-13 02:24:42 in reply to 1 [source]
"fossil test-ancestor-path ONE TWO" finds the most recent common ancestor of check-ins ONE and TWO, as well as the paths from ONE and TWO back to that common ancestor. This is a "test" command, however, meaning that it is (mostly) undocumented and unsupported.