changeset 14356:02a5bebd0dc4 stable

revset: the name is optional for the tag predicate
author Martin Geisler <mg@aragost.com>
date Wed, 18 May 2011 09:31:19 +0200
parents 8fdc9dd8264b
children cb4ff8ef466b ab687820c4cc
files mercurial/revset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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