# HG changeset patch # User Yuya Nishihara # Date 2018-02-25 07:40:41 # Node ID bb852a52563323cf7da5a86ebad220f3acb191ae # Parent 02cd2fb6de72dea1158d901b3b2867a620483f73 remotenames: drop redundant templatekw names from help text Also removed the second "List of" phrase, which is obvious from the type "List of strings." diff --git a/hgext/remotenames.py b/hgext/remotenames.py --- a/hgext/remotenames.py +++ b/hgext/remotenames.py @@ -228,9 +228,7 @@ def reposetup(ui, repo): @templatekeyword('remotenames') def remotenameskw(**args): - """:remotenames: List of strings. List of remote names associated with the - changeset. - """ + """List of strings. Remote names associated with the changeset.""" args = pycompat.byteskwargs(args) repo, ctx = args['repo'], args['ctx'] @@ -246,9 +244,7 @@ def remotenameskw(**args): @templatekeyword('remotebookmarks') def remotebookmarkskw(**args): - """:remotebookmarks: List of strings. List of remote bookmarks associated - with the changeset. - """ + """List of strings. Remote bookmarks associated with the changeset.""" args = pycompat.byteskwargs(args) repo, ctx = args['repo'], args['ctx'] @@ -261,9 +257,7 @@ def remotebookmarkskw(**args): @templatekeyword('remotebranches') def remotebrancheskw(**args): - """:remotebranches: List of strings. List of remote branches associated - with the changeset. - """ + """List of strings. Remote branches associated with the changeset.""" args = pycompat.byteskwargs(args) repo, ctx = args['repo'], args['ctx']