changeset 14353:afb2ed5b37a2 stable

revset: expand help for contains predicate
author Martin Geisler <mg@aragost.com>
date Wed, 18 May 2011 09:15:18 +0200
parents 3c65cdcf3ba6
children c66ba016ebb8
files mercurial/revset.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revset.py	Fri May 13 19:46:36 2011 -0500
+++ b/mercurial/revset.py	Wed May 18 09:15:18 2011 +0200
@@ -428,7 +428,8 @@
 
 def contains(repo, subset, x):
     """``contains(pattern)``
-    Revision contains pattern.
+    Revision contains a file matching pattern. See :hg:`help patterns`
+    for information about file patterns.
     """
     # i18n: "contains" is a keyword
     pat = getstring(x, _("contains requires a pattern"))