Mercurial > hg
comparison contrib/all-revsets.txt @ 40189:9458dbfa7f33
templatefuncs: add truncate parameter to pad
Add a truncate option to pad that additionally truncates the text to the pad
width if it is wider.
Since color codes can cause a problem with this, when the text is truncated,
the color codes are also stripped. Users of the truncate option should label
the text outside the pad.
Differential Revision: https://phab.mercurial-scm.org/D5000
author | Mark Thomas <mbthomas@fb.com> |
---|---|
date | Fri, 12 Oct 2018 15:46:52 +0000 |
parents | 70a4289896b0 |
children | 5409f7ec7850 |
comparison
equal
deleted
inserted
replaced
40188:2c5316796f45 | 40189:9458dbfa7f33 |
---|