Mercurial > hg-stable
changeset 11052:d6094402de14 stable
relink/progress: correctly handle the no file to relink case
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Sat, 01 May 2010 14:36:48 +0200 |
parents | e4f911ce21de |
children | 59d0d715fbfa |
files | hgext/relink.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/relink.py Thu Apr 08 11:00:46 2010 -0400 +++ b/hgext/relink.py Sat May 01 14:36:48 2010 +0200 @@ -145,7 +145,7 @@ except OSError, inst: ui.warn('%s: %s\n' % (tgt, str(inst))) - ui.progress(_('relinking'), None, f, _(' files'), total) + ui.progress(_('relinking'), None, unit=_(' files'), total=total) ui.status(_('relinked %d files (%d bytes reclaimed)\n') % (relinked, savedbytes))