equal
deleted
inserted
replaced
448 if replyto: |
448 if replyto: |
449 m['Reply-To'] = ', '.join(replyto) |
449 m['Reply-To'] = ', '.join(replyto) |
450 if opts.get('test'): |
450 if opts.get('test'): |
451 ui.status(_('Displaying '), subj, ' ...\n') |
451 ui.status(_('Displaying '), subj, ' ...\n') |
452 ui.flush() |
452 ui.flush() |
453 if 'PAGER' in os.environ: |
453 if 'PAGER' in os.environ and not ui.plain(): |
454 fp = util.popen(os.environ['PAGER'], 'w') |
454 fp = util.popen(os.environ['PAGER'], 'w') |
455 else: |
455 else: |
456 fp = ui |
456 fp = ui |
457 generator = email.Generator.Generator(fp, mangle_from_=False) |
457 generator = email.Generator.Generator(fp, mangle_from_=False) |
458 try: |
458 try: |