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.
--- 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: