Show More
@@ -306,8 +306,12 b' def patchbomb(ui, repo, *revs, **opts):' | |||
|
306 | 306 | d = cdiffstat(_('Final summary:\n'), jumbo) |
|
307 | 307 | if d: body = '\n' + d |
|
308 | 308 | |
|
309 | ui.write(_('\nWrite the introductory message for the patch series.\n\n')) | |
|
310 | body = ui.edit(body, sender) | |
|
309 | if opts['desc']: | |
|
310 | body = open(opts['desc']).read() | |
|
311 | else: | |
|
312 | ui.write(_('\nWrite the introductory message for the ' | |
|
313 | 'patch series.\n\n')) | |
|
314 | body = ui.edit(body, sender) | |
|
311 | 315 | |
|
312 | 316 | msg = email.MIMEText.MIMEText(body) |
|
313 | 317 | msg['Subject'] = subj |
@@ -417,6 +421,7 b' cmdtable = {' | |||
|
417 | 421 | ('c', 'cc', [], _('email addresses of copy recipients')), |
|
418 | 422 | ('d', 'diffstat', None, _('add diffstat output to messages')), |
|
419 | 423 | ('', 'date', '', _('use the given date as the sending date')), |
|
424 | ('', 'desc', '', _('use the given file as the series description')), | |
|
420 | 425 | ('g', 'git', None, _('use git extended diff format')), |
|
421 | 426 | ('f', 'from', '', _('email address of sender')), |
|
422 | 427 | ('', 'plain', None, _('omit hg patch header')), |
General Comments 0
You need to be logged in to leave comments.
Login now