Show More
@@ -394,17 +394,14 b' def patchbomb(ui, repo, *revs, **opts):' | |||||
394 |
|
394 | |||
395 | if addrs: |
|
395 | if addrs: | |
396 | showaddrs.append('%s %s' % (showaddr, ', '.join(addrs))) |
|
396 | showaddrs.append('%s %s' % (showaddr, ', '.join(addrs))) | |
397 | return mail.addrlistencode(ui, addrs, _charsets, |
|
397 | return mail.addrlistencode(ui, addrs, _charsets, opts.get('test')) | |
398 | opts.get('test')) |
|
|||
399 |
|
398 | |||
400 | addrs = ui.config('email', opt) or ui.config('patchbomb', opt) or '' |
|
399 | addrs = ui.config('email', opt) or ui.config('patchbomb', opt) or '' | |
401 | if not addrs and prpt: |
|
400 | if not addrs and prpt: | |
402 | addrs = prompt(ui, prpt, default) |
|
401 | addrs = prompt(ui, prpt, default) | |
403 |
|
402 | |||
404 | if addrs: |
|
403 | if addrs: | |
405 |
showaddr |
|
404 | showaddrs.append('%s %s' % (showaddr, addrs)) | |
406 | showaddrs.append(showaddr) |
|
|||
407 |
|
||||
408 | return mail.addrlistencode(ui, [addrs], _charsets, opts.get('test')) |
|
405 | return mail.addrlistencode(ui, [addrs], _charsets, opts.get('test')) | |
409 |
|
406 | |||
410 | to = getaddrs('to', 'To') |
|
407 | to = getaddrs('to', 'To') |
General Comments 0
You need to be logged in to leave comments.
Login now