equal
deleted
inserted
replaced
547 return datestr |
547 return datestr |
548 |
548 |
549 if not pats: |
549 if not pats: |
550 raise util.Abort(_('at least one file name or pattern required')) |
550 raise util.Abort(_('at least one file name or pattern required')) |
551 |
551 |
552 opmap = [['user', getname], ['number', str], ['changeset', getnode], ['date', getdate]] |
552 opmap = [['user', getname], ['number', str], ['changeset', getnode], |
|
553 ['date', getdate]] |
553 if not opts['user'] and not opts['changeset'] and not opts['date']: |
554 if not opts['user'] and not opts['changeset'] and not opts['date']: |
554 opts['number'] = 1 |
555 opts['number'] = 1 |
555 |
556 |
556 if opts['rev']: |
557 if opts['rev']: |
557 node = repo.changelog.lookup(opts['rev']) |
558 node = repo.changelog.lookup(opts['rev']) |