# HG changeset patch
# User Martin Geisler <mg@aragost.com>
# Date 1305703879 -7200
#      Wed May 18 09:31:19 2011 +0200
# Branch stable
# Node ID 02a5bebd0dc48ab51ef8f921c71f5871e6045fe7
# Parent  8fdc9dd8264bf4b097946c610e2ce149ff23ce97
revset: the name is optional for the tag predicate

diff --git a/mercurial/revset.py b/mercurial/revset.py
--- a/mercurial/revset.py
+++ b/mercurial/revset.py
@@ -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