# HG changeset patch # User Martin Geisler # Date 1305703691 -7200 # Node ID 8fdc9dd8264bf4b097946c610e2ce149ff23ce97 # Parent c66ba016ebb8b84591d4be66144cdfd2780c3d22 revset: note case-sensitive match in grep diff -r c66ba016ebb8 -r 8fdc9dd8264b mercurial/revset.py --- 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