--- a/mercurial/hg.py Fri Feb 23 11:48:58 2018 +0530
+++ b/mercurial/hg.py Mon Mar 05 00:02:13 2018 -0500
@@ -752,7 +752,9 @@
if quietempty and not any(stats):
return
repo.ui.status(_("%d files updated, %d files merged, "
- "%d files removed, %d files unresolved\n") % stats)
+ "%d files removed, %d files unresolved\n") % (
+ stats.updatedcount, stats.mergedcount,
+ stats.removedcount, stats.unresolvedcount))
def updaterepo(repo, node, overwrite, updatecheck=None):
"""Update the working directory to node.