diff -r c927c568a5ad -r 6d2d1dcd5f74 hgext/patchbomb.py --- a/hgext/patchbomb.py Sun May 27 14:43:29 2007 -0700 +++ b/hgext/patchbomb.py Sun May 27 14:53:46 2007 -0700 @@ -325,15 +325,15 @@ msg['Subject'] = subj return [msg] + sender = (opts['from'] or ui.config('email', 'from') or + ui.config('patchbomb', 'from') or + prompt('From', ui.username())) + if opts.get('bundle'): msgs = getbundlemsgs(getbundle(dest)) else: msgs = getexportmsgs() - sender = (opts['from'] or ui.config('email', 'from') or - ui.config('patchbomb', 'from') or - prompt('From', ui.username())) - def getaddrs(opt, prpt, default = None): addrs = opts[opt] or (ui.config('email', opt) or ui.config('patchbomb', opt) or