# HG changeset patch # User Matt Harbison # Date 1484194431 18000 # 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 -r c2cbc1b050db -r b1012cb1bec3 mercurial/revset.py --- a/mercurial/revset.py Wed Jan 11 23:13:00 2017 -0800 +++ b/mercurial/revset.py Wed Jan 11 23:13:51 2017 -0500 @@ -1253,6 +1253,9 @@ 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")))