mercurial/hg.py
changeset 9454 dafadd7ff07e
parent 9425 6cfea6e4c892
child 9468 b2310903c462
--- a/mercurial/hg.py	Tue Sep 15 18:26:05 2009 +0200
+++ b/mercurial/hg.py	Mon Sep 14 23:48:25 2009 +0200
@@ -327,12 +327,8 @@
             dir_cleanup.cleanup()
 
 def _showstats(repo, stats):
-    stats = ((stats[0], _("updated")),
-             (stats[1], _("merged")),
-             (stats[2], _("removed")),
-             (stats[3], _("unresolved")))
-    note = ", ".join([_("%d files %s") % s for s in stats])
-    repo.ui.status("%s\n" % note)
+    repo.ui.status(_("%d files updated, %d files merged, "
+                     "%d files removed, %d files unresolved\n") % stats)
 
 def update(repo, node):
     """update the working directory to node, merging linear changes"""