mercurial/commands.py
changeset 9373 b34184c046ac
parent 9367 1ef630452e0b
child 9391 2705e6816d33
--- a/mercurial/commands.py	Thu Aug 20 10:41:56 2009 +0200
+++ b/mercurial/commands.py	Fri Aug 21 09:33:27 2009 +0200
@@ -2052,7 +2052,7 @@
                 for k in [kw.lower() for kw in opts['keyword']]:
                     if not (k in ctx.user().lower() or
                             k in ctx.description().lower() or
-                            k in " ".join(ctx.files()[3]).lower()):
+                            k in " ".join(ctx.files()).lower()):
                         miss = 1
                         break
                 if miss: