equal
deleted
inserted
replaced
666 start_time = util.parsedate(date) |
666 start_time = util.parsedate(date) |
667 else: |
667 else: |
668 start_time = util.makedate() |
668 start_time = util.makedate() |
669 |
669 |
670 def genmsgid(id): |
670 def genmsgid(id): |
671 return '<%s.%s@%s>' % (id[:20], int(start_time[0]), socket.getfqdn()) |
671 return '<%s.%d@%s>' % (id[:20], int(start_time[0]), socket.getfqdn()) |
672 |
672 |
673 # deprecated config: patchbomb.from |
673 # deprecated config: patchbomb.from |
674 sender = (opts.get('from') or ui.config('email', 'from') or |
674 sender = (opts.get('from') or ui.config('email', 'from') or |
675 ui.config('patchbomb', 'from') or |
675 ui.config('patchbomb', 'from') or |
676 prompt(ui, 'From', ui.username())) |
676 prompt(ui, 'From', ui.username())) |