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

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Sat May 11 23:07:53 EDT 2019

yuja added a comment.

  >   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.

  rHG Mercurial


To: martinvonz, #hg-reviewers
Cc: yuja, mercurial-devel

More information about the Mercurial-devel mailing list