Show More
@@ -168,10 +168,11 b' def patchbomb(ui, repo, *revs, **opts):' | |||||
168 | len(patches), |
|
168 | len(patches), | |
169 | opts['subject'] or |
|
169 | opts['subject'] or | |
170 | prompt('Subject:', rest = ' [PATCH 0 of %d] ' % len(patches))) |
|
170 | prompt('Subject:', rest = ' [PATCH 0 of %d] ' % len(patches))) | |
171 |
to = |
|
171 | to = opts['to'] or ui.config('patchbomb', 'to') or prompt('To') | |
172 |
|
|
172 | to = [t.strip() for t in to.split(',')] | |
173 | cc = (opts['cc'] or ui.config('patchbomb', 'cc') or |
|
173 | cc = (opts['cc'] or ui.config('patchbomb', 'cc') or | |
174 |
|
|
174 | prompt('Cc', default = '')) | |
|
175 | cc = [c.strip() for c in cc.split(',')] | |||
175 |
|
176 | |||
176 | ui.write('Finish with ^D or a dot on a line by itself.\n\n') |
|
177 | ui.write('Finish with ^D or a dot on a line by itself.\n\n') | |
177 |
|
178 |
General Comments 0
You need to be logged in to leave comments.
Login now