D1293: rebase: use fm.formatlist() and fm.formatdict() to support user template

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Tue Nov 21 07:38:25 EST 2017


yuja added a comment.


  > I am not sure whether that was what you wanted.
  
  It's getting closer, thanks. What I meant is `{key}` and `{value}` wouldn't be good
  keyword names because the they are actually an old node and a list of new nodes
  respectively.
  
  I think a template should be expressed something like this:
  
    `{oldnode}: {newnodes % '{node} '}`

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D1293

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


More information about the Mercurial-devel mailing list