changeset 10394 | 4612cded5176 |
parent 10390 | f163775e36e0 |
child 10405 | 2d30d66a89ad |
--- a/mercurial/commands.py Mon Feb 08 15:06:26 2010 +0100 +++ b/mercurial/commands.py Mon Feb 08 15:36:34 2010 +0100 @@ -103,7 +103,7 @@ opts['number'] = 1 linenumber = opts.get('line_number') is not None - if (linenumber and (not opts.get('changeset')) and (not opts.get('number'))): + if linenumber and (not opts.get('changeset')) and (not opts.get('number')): raise util.Abort(_('at least one of -n/-c is required for -l')) funcmap = [func for op, func in opmap if opts.get(op)]