Mercurial > hg
changeset 28474:00e6e0d0bfeb
patchbomb: specify unit for ui.progress when sending emails
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 11 Mar 2016 22:30:43 +0800 |
parents | 61d1a3cc6e1c |
children | ae522fb493d4 |
files | hgext/patchbomb.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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']