changeset 4323:7843528a7922

hgweb: expand keyword search to full list of files
author TK Soh <teekaysoh@yahoo.com>
date Thu, 29 Mar 2007 09:32:59 -0500
parents 38922a13101e
children cd650cd61b06
files mercurial/hgweb/hgweb_mod.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: