Mercurial > public > mercurial-scm > hg-stable
diff mercurial/commands.py @ 21267:e4f451c8c05c
resolve: simplify "finished" message
The recently introduced message was:
no unresolved files; you may continue your unfinished operation
This had three problems:
- looks a bit like an error message because it's not saying "we've
just resolved the last file"
- refers to "unfinished operation", which won't be the case with
"update" or "merge"
- introduces semicolons to error messages, which is stylistically
questionable
I've simplified this to:
no more unresolved files
In the future, if we want to prompt someone to continue a particular operation, we should use
a hint style:
no more unresolved files
(use 'hg graft --continue' to finish grafting)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 09 May 2014 14:46:50 -0500 |
parents | 19d6fec60b81 |
children | ca275f7ec576 |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Apr 18 22:19:25 2014 -0700 +++ b/mercurial/commands.py Fri May 09 14:46:50 2014 -0500 @@ -4981,8 +4981,7 @@ # this with the list/show operation because we want list/show to remain # machine readable. if not list(ms.unresolved()) and not show: - ui.write(_('no unresolved files; ')) - ui.write(_('you may continue your unfinished operation\n')) + ui.status(_('no more unresolved files\n')) return ret