# HG changeset patch # User Martin Geisler # Date 2009-04-28 15:30:00 # Node ID 1320459daa91b8ae815ff67387fce8af14740239 # Parent 9f53e203a09b04f5487b5c17d54c29b05f5acce0 help: document nonempty template filter. diff --git a/mercurial/help.py b/mercurial/help.py --- a/mercurial/help.py +++ b/mercurial/help.py @@ -337,6 +337,7 @@ PYTHONPATH:: - 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.