# HG changeset patch # User Martin Geisler # Date 2011-05-18 07:31:19 # 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 @@ def outgoing(repo, subset, x): 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