[PATCH 1 of 7] relink: properly use the progress API

Augie Fackler durin42 at gmail.com
Fri Feb 12 08:09:49 CST 2010


# HG changeset patch
# User Augie Fackler <durin42 at gmail.com>
# Date 1265559918 21600
# Node ID e1f203624b1922f7bb27b3a027683907a2569124
# Parent  9cdc2f591fab69569ebef8fdd6b3cfda84b9141c
relink: properly use the progress API

diff --git a/hgext/relink.py b/hgext/relink.py
--- a/hgext/relink.py
+++ b/hgext/relink.py
@@ -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))
 


More information about the Mercurial-devel mailing list