Show More
@@ -278,10 +278,11 b' def makepatch(ui, repo, rev, patchlines,' | |||
|
278 | 278 | seqno=idx, total=total) |
|
279 | 279 | else: |
|
280 | 280 | patchname = cmdutil.makefilename(repo[node], '%b.patch') |
|
281 | disposition = 'inline' | |
|
281 | disposition = r'inline' | |
|
282 | 282 | if opts.get('attach'): |
|
283 | disposition = 'attachment' | |
|
284 |
p['Content-Disposition'] = |
|
|
283 | disposition = r'attachment' | |
|
284 | p[r'Content-Disposition'] = ( | |
|
285 | disposition + r'; filename=' + encoding.strfromlocal(patchname)) | |
|
285 | 286 | msg.attach(p) |
|
286 | 287 | else: |
|
287 | 288 | msg = mail.mimetextpatch(body, display=opts.get('test')) |
General Comments 0
You need to be logged in to leave comments.
Login now