changeset 27402 | 5184089f5d30 |
parent 27354 | bced7180db19 |
child 27403 | 50b6a04f817f |
--- a/mercurial/hg.py Thu Dec 17 11:00:06 2015 -0800 +++ b/mercurial/hg.py Mon Dec 14 23:13:25 2015 +0000 @@ -637,7 +637,9 @@ srcpeer.close() return srcpeer, destpeer -def _showstats(repo, stats): +def _showstats(repo, stats, quietempty=False): + if quietempty and not any(stats): + return repo.ui.status(_("%d files updated, %d files merged, " "%d files removed, %d files unresolved\n") % stats)