mercurial/commands.py
changeset 4322 38922a13101e
parent 4315 bc6f5a1d8b7b
child 4324 cd650cd61b06
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1745,7 +1745,7 @@ def log(ui, repo, *pats, **opts):
                 for k in [kw.lower() for kw in opts['keyword']]:
                     if not (k in changes[1].lower() or
                             k in changes[4].lower() or
-                            k in " ".join(changes[3][:20]).lower()):
+                            k in " ".join(changes[3]).lower()):
                         miss = 1
                         break
                 if miss: