comparison mercurial/revset.py @ 20829:9a09a625bc93

merge with stable
author Matt Mackall <mpm@selenic.com>
date Tue, 25 Mar 2014 16:17:16 -0500
parents 3210b7930899 c57c9cece645
children 47d43e2323c5
comparison
equal deleted inserted replaced
20828:3210b7930899 20829:9a09a625bc93
1592 return kind, pattern, matcher 1592 return kind, pattern, matcher
1593 1593
1594 def tag(repo, subset, x): 1594 def tag(repo, subset, x):
1595 """``tag([name])`` 1595 """``tag([name])``
1596 The specified tag by name, or all tagged revisions if no name is given. 1596 The specified tag by name, or all tagged revisions if no name is given.
1597
1598 If `name` starts with `re:`, the remainder of the name is treated as
1599 a regular expression. To match a tag that actually starts with `re:`,
1600 use the prefix `literal:`.
1597 """ 1601 """
1598 # i18n: "tag" is a keyword 1602 # i18n: "tag" is a keyword
1599 args = getargs(x, 0, 1, _("tag takes one or no arguments")) 1603 args = getargs(x, 0, 1, _("tag takes one or no arguments"))
1600 cl = repo.changelog 1604 cl = repo.changelog
1601 if args: 1605 if args: