# HG changeset patch # User Martin Geisler # Date 1240932600 -7200 # Node ID 1320459daa91b8ae815ff67387fce8af14740239 # Parent 9f53e203a09b04f5487b5c17d54c29b05f5acce0 help: document nonempty template filter. diff -r 9f53e203a09b -r 1320459daa91 mercurial/help.py --- 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.