Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/hgweb/hgweb_mod.py @ 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 | 3f2e334937ce |
children | aa26759c6fb3 26a2fa9433b8 |
comparison
equal
deleted
inserted
replaced
4322:38922a13101e | 4323:7843528a7922 |
---|---|
263 for ctx in revgen(): | 263 for ctx in revgen(): |
264 miss = 0 | 264 miss = 0 |
265 for q in qw: | 265 for q in qw: |
266 if not (q in ctx.user().lower() or | 266 if not (q in ctx.user().lower() or |
267 q in ctx.description().lower() or | 267 q in ctx.description().lower() or |
268 q in " ".join(ctx.files()[:20]).lower()): | 268 q in " ".join(ctx.files()).lower()): |
269 miss = 1 | 269 miss = 1 |
270 break | 270 break |
271 if miss: | 271 if miss: |
272 continue | 272 continue |
273 | 273 |