hgweb: expand keyword search to full list of files
authorTK Soh <teekaysoh@yahoo.com>
Thu, 29 Mar 2007 09:32:59 -0500
changeset 4323 7843528a7922
parent 4322 38922a13101e
child 4324 cd650cd61b06
hgweb: expand keyword search to full list of files
mercurial/hgweb/hgweb_mod.py
--- a/mercurial/hgweb/hgweb_mod.py	Thu Mar 29 09:28:10 2007 -0500
+++ b/mercurial/hgweb/hgweb_mod.py	Thu Mar 29 09:32:59 2007 -0500
@@ -265,7 +265,7 @@
                 for q in qw:
                     if not (q in ctx.user().lower() or
                             q in ctx.description().lower() or
-                            q in " ".join(ctx.files()[:20]).lower()):
+                            q in " ".join(ctx.files()).lower()):
                         miss = 1
                         break
                 if miss: