diff 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
line wrap: on
line diff
--- a/mercurial/revset.py	Mon Mar 24 20:00:18 2014 -0700
+++ b/mercurial/revset.py	Tue Mar 25 16:17:16 2014 -0500
@@ -1594,6 +1594,10 @@
 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"))