On 11/10/2024 23:28, Dmitry Gutov wrote: > > Anyway, it seems instead of vc-root-diff we can use vc-diff-mergebase, > it has the same completion for revisions. With REV1=@{upstream} and > REV2="", we'll get #1, with reverse - #2. The full key sequence: > >   C-u C-x v M D @{upstream} RET C-j > > Note that vc-*-mergebase is only implemented for Git. But vc-hg-log- > incoming is defined -- that seems to indicate that 'mergebase' would be > useful to support for it too. Here's my current patch.