# HG changeset patch # User Matt Mackall # Date 2013-07-19 17:58:30 # Node ID 1afe5d3939db0908d743cf7754548404dd241aba # Parent 3289080e57cdc0f327f0ff2a8ecf25972941d31b template: fix tabindent docstring (issue2880) diff --git a/mercurial/templatefilters.py b/mercurial/templatefilters.py --- a/mercurial/templatefilters.py +++ b/mercurial/templatefilters.py @@ -325,8 +325,8 @@ def stripdir(text): return dir def tabindent(text): - """:tabindent: Any text. Returns the text, with every line except the - first starting with a tab character. + """:tabindent: Any text. Returns the text, with every non-empty line + except the first starting with a tab character. """ return indent(text, '\t')