Show More
@@ -378,8 +378,8 b' def _getbundlemsgs(repo, sender, bundle,' | |||||
378 | datapart = emimebase.MIMEBase('application', 'x-mercurial-bundle') |
|
378 | datapart = emimebase.MIMEBase('application', 'x-mercurial-bundle') | |
379 | datapart.set_payload(bundle) |
|
379 | datapart.set_payload(bundle) | |
380 | bundlename = '%s.hg' % opts.get(r'bundlename', 'bundle') |
|
380 | bundlename = '%s.hg' % opts.get(r'bundlename', 'bundle') | |
381 | datapart.add_header('Content-Disposition', 'attachment', |
|
381 | datapart.add_header(r'Content-Disposition', r'attachment', | |
382 | filename=bundlename) |
|
382 | filename=encoding.strfromlocal(bundlename)) | |
383 | emailencoders.encode_base64(datapart) |
|
383 | emailencoders.encode_base64(datapart) | |
384 | msg.attach(datapart) |
|
384 | msg.attach(datapart) | |
385 | msg['Subject'] = mail.headencode(ui, subj, _charsets, opts.get(r'test')) |
|
385 | msg['Subject'] = mail.headencode(ui, subj, _charsets, opts.get(r'test')) |
General Comments 0
You need to be logged in to leave comments.
Login now