##// END OF EJS Templates
contrib/patchbomb: Fix buglet with empty cc list.
Bryan O'Sullivan -
r998:c37dd58a default
parent child Browse files
Show More
@@ -172,7 +172,7 b' def patchbomb(ui, repo, *revs, **opts):'
172 to = [t.strip() for t in to.split(',')]
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 prompt('Cc', default = ''))
174 prompt('Cc', default = ''))
175 cc = [c.strip() for c in cc.split(',')]
175 cc = (cc and [c.strip() for c in cc.split(',')]) or []
176
176
177 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')
178
178
General Comments 0
You need to be logged in to leave comments. Login now