Show More
@@ -332,6 +332,8 b' def patchbomb(ui, repo, *revs, **opts):' | |||
|
332 | 332 | msg.attach(email.MIMEText.MIMEText(body, 'plain')) |
|
333 | 333 | datapart = email.MIMEBase.MIMEBase('application', 'x-mercurial-bundle') |
|
334 | 334 | datapart.set_payload(bundle) |
|
335 | datapart.add_header('Content-Disposition', 'attachment', | |
|
336 | filename='bundle.hg') | |
|
335 | 337 | email.Encoders.encode_base64(datapart) |
|
336 | 338 | msg.attach(datapart) |
|
337 | 339 | msg['Subject'] = subj |
General Comments 0
You need to be logged in to leave comments.
Login now