Mercurial > hg
changeset 997:458b84a96e1c
Fix handling of addresses in hgrc.
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Sun, 21 Aug 2005 23:03:14 -0800 |
parents | 5ed566574486 |
children | c37dd58a444a |
files | contrib/patchbomb |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/contrib/patchbomb Sun Aug 21 22:46:57 2005 -0800 +++ b/contrib/patchbomb Sun Aug 21 23:03:14 2005 -0800 @@ -168,10 +168,11 @@ len(patches), opts['subject'] or prompt('Subject:', rest = ' [PATCH 0 of %d] ' % len(patches))) - to = (opts['to'] or ui.config('patchbomb', 'to') or - [s.strip() for s in prompt('To').split(',')]) + to = opts['to'] or ui.config('patchbomb', 'to') or prompt('To') + to = [t.strip() for t in to.split(',')] cc = (opts['cc'] or ui.config('patchbomb', 'cc') or - [s.strip() for s in prompt('Cc', default = '').split(',')]) + prompt('Cc', default = '')) + cc = [c.strip() for c in cc.split(',')] ui.write('Finish with ^D or a dot on a line by itself.\n\n')