[PATCH] help: add pad function to template help
Thomas De Schampheleire
patrickdepinguin+mercurial at gmail.com
Mon Aug 25 08:41:28 CDT 2014
# HG changeset patch
# User Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
# Date 1408972209 -7200
# Mon Aug 25 15:10:09 2014 +0200
# Node ID 6dd4d3afa394f86e29968aaaed6f25712c6cde9f
# Parent 90cf454edd709c616d1e5ea4f30fb4d02f0c01a4
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'.
diff --git a/mercurial/help/templates.txt b/mercurial/help/templates.txt
--- a/mercurial/help/templates.txt
+++ b/mercurial/help/templates.txt
@@ -57,6 +57,8 @@
- label(label, expr)
+- pad(text, width[, fillchar, right])
+
- revset(query[, formatargs])
- rstdoc(text, style)
More information about the Mercurial-devel
mailing list