equal
deleted
inserted
replaced
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: |