equal
deleted
inserted
replaced
1251 |
1251 |
1252 @predicate('keyword(string)', safe=True) |
1252 @predicate('keyword(string)', safe=True) |
1253 def keyword(repo, subset, x): |
1253 def keyword(repo, subset, x): |
1254 """Search commit message, user name, and names of changed files for |
1254 """Search commit message, user name, and names of changed files for |
1255 string. The match is case-insensitive. |
1255 string. The match is case-insensitive. |
|
1256 |
|
1257 For a regular expression or case sensitive search of these fields, use |
|
1258 ``grep(regex)``. |
1256 """ |
1259 """ |
1257 # i18n: "keyword" is a keyword |
1260 # i18n: "keyword" is a keyword |
1258 kw = encoding.lower(getstring(x, _("keyword requires a string"))) |
1261 kw = encoding.lower(getstring(x, _("keyword requires a string"))) |
1259 |
1262 |
1260 def matches(r): |
1263 def matches(r): |