Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/commands.py @ 9373:b34184c046ac
log: fix traceback for log -k caused by 1ef630452e0b (issue1805)
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Fri, 21 Aug 2009 09:33:27 +0200 |
parents | 1ef630452e0b |
children | 2705e6816d33 |
comparison
equal
deleted
inserted
replaced
9372:2484868cffde | 9373:b34184c046ac |
---|---|
2050 if opts.get('keyword'): | 2050 if opts.get('keyword'): |
2051 miss = 0 | 2051 miss = 0 |
2052 for k in [kw.lower() for kw in opts['keyword']]: | 2052 for k in [kw.lower() for kw in opts['keyword']]: |
2053 if not (k in ctx.user().lower() or | 2053 if not (k in ctx.user().lower() or |
2054 k in ctx.description().lower() or | 2054 k in ctx.description().lower() or |
2055 k in " ".join(ctx.files()[3]).lower()): | 2055 k in " ".join(ctx.files()).lower()): |
2056 miss = 1 | 2056 miss = 1 |
2057 break | 2057 break |
2058 if miss: | 2058 if miss: |
2059 continue | 2059 continue |
2060 | 2060 |