# HG changeset patch # User Augie Fackler # Date 1265559918 21600 # Node ID 93b5abcf5101e0f89b1c01b25c8b62c3b9e153fc # Parent caaa1f99d681b97e2296eb7a03edd63c77e5b02d relink: properly use the progress API diff -r caaa1f99d681 -r 93b5abcf5101 hgext/relink.py --- 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))