comparison hgext/children.py @ 8234:27dbe534397b

templatefilters: add "nonempty" template filter It ensures that at least "(none)" is returned in case the argument passed is None or ''. This is primarily useful to render empty changelog messages for hgweb but may be useful for others, too.
author Rocco Rutte <pdmef@gmx.net>
date Mon, 20 Apr 2009 11:34:15 +0200
parents eee2319c5895
children b9403042968a
comparison
equal deleted inserted replaced
8233:655c435efe92 8234:27dbe534397b