# HG changeset patch # User Matt Harbison # Date 2017-01-12 04:13:51 # Node ID b1012cb1bec30031fa82d6c0df15223d9813cd28 # Parent c2cbc1b050dbbf2e3d2dd18541983d30ad45824d revset: point to 'grep' in the 'keyword' help for regex searches The help for 'grep' already points to 'keyword'. diff --git a/mercurial/revset.py b/mercurial/revset.py --- a/mercurial/revset.py +++ b/mercurial/revset.py @@ -1253,6 +1253,9 @@ def hidden(repo, subset, x): def keyword(repo, subset, x): """Search commit message, user name, and names of changed files for string. The match is case-insensitive. + + For a regular expression or case sensitive search of these fields, use + ``grep(regex)``. """ # i18n: "keyword" is a keyword kw = encoding.lower(getstring(x, _("keyword requires a string")))