help: document about {extras} template keyword
This adds text about the "extras" template keyword, similar to that proposed by
Yuya Nishihara previously.
--- 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()