# HG changeset patch # User Yuya Nishihara # Date 1527166471 -32400 # Node ID a3b4ccbec269a4ffabdcc681212a36bbbdc4cca8 # Parent 5b831053d9b68fbb9afcc89d75391aee31f6cbb0 help: correct signature of separate() template function Without the dots, it looked as if separate() would take a list of arguments. diff -r 5b831053d9b6 -r a3b4ccbec269 mercurial/templatefuncs.py --- a/mercurial/templatefuncs.py Fri May 18 21:32:05 2018 +0900 +++ b/mercurial/templatefuncs.py Thu May 24 21:54:31 2018 +0900 @@ -555,7 +555,7 @@ return minirst.format(text, style=style, keep=['verbose']) -@templatefunc('separate(sep, args)', argspec='sep *args') +@templatefunc('separate(sep, args...)', argspec='sep *args') def separate(context, mapping, args): """Add a separator between non-empty arguments.""" if 'sep' not in args: