changeset 22281:05ea941aafdc stable

help: add pad function to template help Commit aa51392da507 introduced a pad function for use in templates, but did not add the corresponding documentation to 'hg help templating'.
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Mon, 25 Aug 2014 15:10:09 +0200
parents 510cafe72004
children 926bc0d3b595 f6371cc62d2a
files mercurial/help/templates.txt
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/help/templates.txt	Fri Aug 15 03:24:40 2014 +0200
+++ b/mercurial/help/templates.txt	Mon Aug 25 15:10:09 2014 +0200
@@ -57,6 +57,8 @@
 
 - label(label, expr)
 
+- pad(text, width[, fillchar, right])
+
 - revset(query[, formatargs])
 
 - rstdoc(text, style)