# HG changeset patch # User Anton Shestakov # Date 1457706643 -28800 # Node ID 00e6e0d0bfeb049b797215f9c2436d7edbb41fda # Parent 61d1a3cc6e1ce26753936a8519a4d67902a2ea43 patchbomb: specify unit for ui.progress when sending emails diff -r 61d1a3cc6e1c -r 00e6e0d0bfeb hgext/patchbomb.py --- a/hgext/patchbomb.py Fri Mar 11 22:28:27 2016 +0800 +++ b/hgext/patchbomb.py Fri Mar 11 22:30:43 2016 +0800 @@ -716,7 +716,8 @@ finally: ui.setconfig('smtp', 'verifycert', verifycert, 'patchbomb') ui.status(_('sending '), subj, ' ...\n') - ui.progress(_('sending'), i, item=subj, total=len(msgs)) + ui.progress(_('sending'), i, item=subj, total=len(msgs), + unit=_('emails')) if not mbox: # Exim does not remove the Bcc field del m['Bcc']