comparison mercurial/commands.py @ 3402:372999405787

Back out d8eba1c3ce9b and a004164dbeef
author Brendan Cully <brendan@kublai.com>
date Sun, 15 Oct 2006 18:25:07 -0700
parents a004164dbeef
children 357b5589dc62
comparison
equal deleted inserted replaced
3401:a004164dbeef 3402:372999405787
626 626
627 if not pats: 627 if not pats:
628 raise util.Abort(_('at least one file name or pattern required')) 628 raise util.Abort(_('at least one file name or pattern required'))
629 629
630 opmap = [['user', lambda x: ui.shortuser(x.user())], 630 opmap = [['user', lambda x: ui.shortuser(x.user())],
631 ['number', lambda x: str(x.linkrev())], 631 ['number', lambda x: str(x.rev())],
632 ['changeset', lambda x: short(x.node())], 632 ['changeset', lambda x: short(x.node())],
633 ['date', getdate], ['follow', lambda x: x.path()]] 633 ['date', getdate], ['follow', lambda x: x.path()]]
634 if (not opts['user'] and not opts['changeset'] and not opts['date'] 634 if (not opts['user'] and not opts['changeset'] and not opts['date']
635 and not opts['follow']): 635 and not opts['follow']):
636 opts['number'] = 1 636 opts['number'] = 1