help: add pad function to template help stable
authorThomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Mon, 25 Aug 2014 15:10:09 +0200
branchstable
changeset 22281 05ea941aafdc
parent 22182 510cafe72004
child 22295 926bc0d3b595
child 22301 f6371cc62d2a
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'.
mercurial/help/templates.txt
--- 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)