changeset 14355:8fdc9dd8264b stable

revset: note case-sensitive match in grep
author Martin Geisler <mg@aragost.com>
date Wed, 18 May 2011 09:28:11 +0200
parents c66ba016ebb8
children 02a5bebd0dc4
files mercurial/revset.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/revset.py	Wed May 18 09:20:52 2011 +0200
+++ b/mercurial/revset.py	Wed May 18 09:28:11 2011 +0200
@@ -381,7 +381,8 @@
 def grep(repo, subset, x):
     """``grep(regex)``
     Like ``keyword(string)`` but accepts a regex. Use ``grep(r'...')``
-    to ensure special escape characters are handled correctly.
+    to ensure special escape characters are handled correctly. Unlike
+    ``keyword(string)``, the match is case-sensitive.
     """
     try:
         # i18n: "grep" is a keyword