Submitter | timeless@mozdev.org |
---|---|
Date | Dec. 14, 2015, 11:37 p.m. |
Message ID | <4226922c73feb11bccb5.1450136244@waste.org> |
Download | mbox | patch |
Permalink | /patch/12040/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -627,7 +627,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)