equal
deleted
inserted
replaced
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.rev())], |
631 ['number', lambda x: str(x.linkrev())], |
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 |