Mercurial > hg-stable
changeset 9608:d097bc2d1945
commands: clarify output for the commit summary
It is not clear what is meant with '2 modified, 3 unknown'. We clarify
this by writing '2 modified files, 3 unknown files' instead.
author | David Soria Parra <dsp@php.net> |
---|---|
date | Mon, 19 Oct 2009 07:14:44 +0200 |
parents | 8e0e0d854b60 |
children | aa404f3f661b |
files | mercurial/commands.py |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Mon Oct 19 14:37:37 2009 +0200 +++ b/mercurial/commands.py Mon Oct 19 07:14:44 2009 +0200 @@ -2901,9 +2901,10 @@ st = list(repo.status(unknown=True))[:7] ms = merge_.mergestate(repo) st.append([f for f in ms if f == 'u']) - labels = [_('%d modified'), _('%d added'), _('%d removed'), - _('%d deleted'), _('%d unknown'), _('%d ignored'), - _('%d unresolved')] + labels = [_('%d modified files'), _('%d added files'), + _('%d removed files'), _('%d deleted files'), + _('%d unknown files'), _('%d ignored files'), + _('%d unresolved files')] t = [] for s,l in zip(st, labels): if s: