D6369: templatekw: get file_{adds, mods, dels} directly from context (issue4292)

Yuya Nishihara yuya at tcha.org
Sat May 11 23:06:36 EDT 2019


>   This redefines the template keywords by getting the lists from the
>   recently introduced context methods instead of getting them from
>   status compared to p1. A mentioned before, these are better defined on
>   merge commits. The total number of files from the three lists now
>   always add up to the number of files in {files}.

So this is a BC, and makes `log -T status` output differ from
`status --change REV`. Just pointed out.

I'm 0 on this change. I feel the new definition makes more sense, but
the old one seems also okay and is simpler.


More information about the Mercurial-devel mailing list