Mercurial > public > mercurial-scm > hg-stable
diff hgext/relink.py @ 10424:93b5abcf5101
relink: properly use the progress API
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Sun, 07 Feb 2010 10:25:18 -0600 |
parents | d6512b3e9ac0 |
children | e930017f9e2a |
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))