# HG changeset patch # User Matthew Turk # Date 1384552434 18000 # Node ID ad27cdacc743a095900cb204f914ddf6efabbc89 # Parent 30eced973b28478e0cc0acb6f98232d9f5940c9f help: document about {extras} template keyword This adds text about the "extras" template keyword, similar to that proposed by Yuya Nishihara previously. diff -r 30eced973b28 -r ad27cdacc743 mercurial/templatekw.py --- a/mercurial/templatekw.py Sat Nov 09 14:50:12 2013 +0100 +++ b/mercurial/templatekw.py Fri Nov 15 16:53:54 2013 -0500 @@ -219,6 +219,8 @@ return '%s: +%s/-%s' % (len(stats), adds, removes) def showextras(**args): + """:extras: List of dicts with key, value entries of the 'extras' + field of this changeset.""" templ = args['templ'] for key, value in sorted(args['ctx'].extra().items()): args = args.copy()