Mercurial > public > mercurial-scm > hg-stable
diff mercurial/help.py @ 8237:1320459daa91
help: document nonempty template filter.
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Tue, 28 Apr 2009 17:30:00 +0200 |
parents | 46293a0c7e9f |
children | 08c93b07f5ad |
line wrap: on
line diff
--- a/mercurial/help.py Tue Apr 28 17:28:00 2009 +0200 +++ b/mercurial/help.py Tue Apr 28 17:30:00 2009 +0200 @@ -337,6 +337,7 @@ - fill68: Any text. Wraps the text to fit in 68 columns. - fill76: Any text. Wraps the text to fit in 76 columns. - firstline: Any text. Returns the first line of text. + - nonempty: Any text. Returns '(none)' if the string is empty. - hgdate: Date. Returns the date as a pair of numbers: "1157407993 25200" (Unix timestamp, timezone offset). - isodate: Date. Returns the date in ISO 8601 format.