Mercurial > hg
changeset 10424:93b5abcf5101
relink: properly use the progress API
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sun, 07 Feb 2010 10:25:18 -0600 |
parents | caaa1f99d681 |
children | f8a9de664a1c |
files | hgext/relink.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/relink.py Tue Feb 09 12:49:47 2010 -0600 +++ b/hgext/relink.py Sun Feb 07 10:25:18 2010 -0600 @@ -145,6 +145,8 @@ except OSError, inst: ui.warn('%s: %s\n' % (tgt, str(inst))) + ui.progress(_('relink'), None, f, _(' files'), total) + ui.status(_('relinked %d files (%d bytes reclaimed)\n') % (relinked, savedbytes))