# HG changeset patch # User Yuya Nishihara # Date 2018-05-24 12:54:31 # 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 --git a/mercurial/templatefuncs.py b/mercurial/templatefuncs.py --- a/mercurial/templatefuncs.py +++ b/mercurial/templatefuncs.py @@ -555,7 +555,7 @@ def rstdoc(context, mapping, args): 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: