mercurial/commands.py
changeset 1404 67e20e27d8df
parent 1402 9d2c2e6b32b5
child 1405 6fd6527f95eb
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1280,7 +1280,7 @@ def log(ui, repo, *pats, **opts):
             if opts['keyword']:
                 changes = repo.changelog.read(repo.changelog.node(rev))
                 miss = 0
-                for k in opts['keyword']:
+                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()):