Show More
@@ -325,15 +325,15 b' def patchbomb(ui, repo, *revs, **opts):' | |||||
325 | msg['Subject'] = subj |
|
325 | msg['Subject'] = subj | |
326 | return [msg] |
|
326 | return [msg] | |
327 |
|
327 | |||
|
328 | sender = (opts['from'] or ui.config('email', 'from') or | |||
|
329 | ui.config('patchbomb', 'from') or | |||
|
330 | prompt('From', ui.username())) | |||
|
331 | ||||
328 | if opts.get('bundle'): |
|
332 | if opts.get('bundle'): | |
329 | msgs = getbundlemsgs(getbundle(dest)) |
|
333 | msgs = getbundlemsgs(getbundle(dest)) | |
330 | else: |
|
334 | else: | |
331 | msgs = getexportmsgs() |
|
335 | msgs = getexportmsgs() | |
332 |
|
336 | |||
333 | sender = (opts['from'] or ui.config('email', 'from') or |
|
|||
334 | ui.config('patchbomb', 'from') or |
|
|||
335 | prompt('From', ui.username())) |
|
|||
336 |
|
||||
337 | def getaddrs(opt, prpt, default = None): |
|
337 | def getaddrs(opt, prpt, default = None): | |
338 | addrs = opts[opt] or (ui.config('email', opt) or |
|
338 | addrs = opts[opt] or (ui.config('email', opt) or | |
339 | ui.config('patchbomb', opt) or |
|
339 | ui.config('patchbomb', opt) or |
General Comments 0
You need to be logged in to leave comments.
Login now