comparison mercurial/commands.py @ 9421:c8e4dc218aaf

log: prevent negative date range from displaying entire log (issue1805)
author Christian Ebert <blacktrash@gmx.net>
date Fri, 04 Sep 2009 11:51:28 +0200
parents 2705e6816d33
children b5e9037d672b
comparison
equal deleted inserted replaced
9420:d0db168136dc 9421:c8e4dc218aaf
2042 2042
2043 ctx = get(rev) 2043 ctx = get(rev)
2044 if only_branches and ctx.branch() not in only_branches: 2044 if only_branches and ctx.branch() not in only_branches:
2045 continue 2045 continue
2046 2046
2047 if df and not df(ctx.date()): 2047 if df and not df(ctx.date()[0]):
2048 continue 2048 continue
2049 2049
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']]: