revset: point to 'grep' in the 'keyword' help for regex searches
The help for 'grep' already points to 'keyword'.
--- 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")))