##// END OF EJS Templates
relink/progress: correctly handle the no file to relink case
Benoit Boissinot -
r11052:d6094402 stable
parent child Browse files
Show More
@@ -145,7 +145,7 b' def do_relink(src, dst, files, ui):'
145 except OSError, inst:
145 except OSError, inst:
146 ui.warn('%s: %s\n' % (tgt, str(inst)))
146 ui.warn('%s: %s\n' % (tgt, str(inst)))
147
147
148 ui.progress(_('relinking'), None, f, _(' files'), total)
148 ui.progress(_('relinking'), None, unit=_(' files'), total=total)
149
149
150 ui.status(_('relinked %d files (%d bytes reclaimed)\n') %
150 ui.status(_('relinked %d files (%d bytes reclaimed)\n') %
151 (relinked, savedbytes))
151 (relinked, savedbytes))
General Comments 0
You need to be logged in to leave comments. Login now