Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hg.py @ 27403:50b6a04f817f
histedit: omit useless message from abort
specifically:
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
author | timeless <timeless@mozdev.org> |
---|---|
date | Mon, 14 Dec 2015 22:08:14 +0000 |
parents | 5184089f5d30 |
children | 1cf3543cc780 |
line wrap: on
line diff
--- a/mercurial/hg.py Mon Dec 14 23:13:25 2015 +0000 +++ b/mercurial/hg.py Mon Dec 14 22:08:14 2015 +0000 @@ -663,12 +663,12 @@ # naming conflict in clone() _update = update -def clean(repo, node, show_stats=True): +def clean(repo, node, show_stats=True, quietempty=False): """forcibly switch the working directory to node, clobbering changes""" stats = updaterepo(repo, node, True) util.unlinkpath(repo.join('graftstate'), ignoremissing=True) if show_stats: - _showstats(repo, stats) + _showstats(repo, stats, quietempty) return stats[3] > 0 def merge(repo, node, force=None, remind=True):