remotenames: drop redundant templatekw names from help text
authorYuya Nishihara <yuya@tcha.org>
Sun, 25 Feb 2018 16:40:41 +0900
changeset 36440 bb852a525633
parent 36439 02cd2fb6de72
child 36441 27cd83152d31
remotenames: drop redundant templatekw names from help text Also removed the second "List of" phrase, which is obvious from the type "List of strings."
hgext/remotenames.py
--- a/hgext/remotenames.py	Sun Feb 25 13:42:51 2018 +0900
+++ b/hgext/remotenames.py	Sun Feb 25 16:40:41 2018 +0900
@@ -228,9 +228,7 @@
 
 @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 @@
 
 @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 @@
 
 @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']