Show More
@@ -958,7 +958,7 b' def email(ui, repo, *revs, **opts):' | |||||
958 | ui.pager(b'email') |
|
958 | ui.pager(b'email') | |
959 | generator = mail.Generator(ui, mangle_from_=False) |
|
959 | generator = mail.Generator(ui, mangle_from_=False) | |
960 | try: |
|
960 | try: | |
961 |
generator.flatten(m, |
|
961 | generator.flatten(m, False) | |
962 | ui.write(b'\n') |
|
962 | ui.write(b'\n') | |
963 | except IOError as inst: |
|
963 | except IOError as inst: | |
964 | if inst.errno != errno.EPIPE: |
|
964 | if inst.errno != errno.EPIPE: | |
@@ -973,7 +973,7 b' def email(ui, repo, *revs, **opts):' | |||||
973 | del m['Bcc'] |
|
973 | del m['Bcc'] | |
974 | fp = stringio() |
|
974 | fp = stringio() | |
975 | generator = mail.Generator(fp, mangle_from_=False) |
|
975 | generator = mail.Generator(fp, mangle_from_=False) | |
976 |
generator.flatten(m, |
|
976 | generator.flatten(m, False) | |
977 | alldests = to + bcc + cc |
|
977 | alldests = to + bcc + cc | |
978 | sendmail(sender_addr, alldests, fp.getvalue()) |
|
978 | sendmail(sender_addr, alldests, fp.getvalue()) | |
979 |
|
979 |
General Comments 0
You need to be logged in to leave comments.
Login now