revset: the name is optional for the tag predicate stable
authorMartin Geisler <mg@aragost.com>
Wed, 18 May 2011 09:31:19 +0200
branchstable
changeset 14356 02a5bebd0dc4
parent 14355 8fdc9dd8264b
child 14357 cb4ff8ef466b
child 14360 ab687820c4cc
revset: the name is optional for the tag predicate
mercurial/revset.py
--- a/mercurial/revset.py	Wed May 18 09:28:11 2011 +0200
+++ b/mercurial/revset.py	Wed May 18 09:31:19 2011 +0200
@@ -649,7 +649,7 @@
     return [r for r in subset if r in o]
 
 def tag(repo, subset, x):
-    """``tag(name)``
+    """``tag([name])``
     The specified tag by name, or all tagged revisions if no name is given.
     """
     # i18n: "tag" is a keyword