mirror of
https://github.com/facebook/sapling.git
synced 2025-01-04 03:06:30 +03:00
revset: document the regular expression support for tag(name)
This has been supported since 0041ea008c64, in 2.3.
This commit is contained in:
parent
2fd618b0ed
commit
60d20455df
@ -1500,6 +1500,10 @@ def _substringmatcher(pattern):
|
||||
def tag(repo, subset, x):
|
||||
"""``tag([name])``
|
||||
The specified tag by name, or all tagged revisions if no name is given.
|
||||
|
||||
If `name` starts with `re:`, the remainder of the name is treated as
|
||||
a regular expression. To match a tag that actually starts with `re:`,
|
||||
use the prefix `literal:`.
|
||||
"""
|
||||
# i18n: "tag" is a keyword
|
||||
args = getargs(x, 0, 1, _("tag takes one or no arguments"))
|
||||
|
Loading…
Reference in New Issue
Block a user