changeset 32039 | 2ab7578e685b |
parent 32037 | e5eab0fe69ee |
child 32126 | e37fd5be0fed |
--- a/mercurial/templatefilters.py Wed Apr 05 21:57:05 2017 +0900 +++ b/mercurial/templatefilters.py Sat Apr 15 10:51:17 2017 +0900 @@ -339,7 +339,7 @@ @templatefilter('splitlines') def splitlines(text): """Any text. Split text into a list of lines.""" - return templatekw.showlist('line', text.splitlines(), {}, plural='lines') + return templatekw.hybridlist(text.splitlines(), name='line') @templatefilter('stringescape') def stringescape(text):