[PATCH] summary: Clarify output for the commit summary

David Soria Parra sn_ at gmx.net
Mon Oct 19 07:14:39 CDT 2009


# HG changeset patch
# User David Soria Parra <dsp at php.net>
# Date 1255929284 -7200
# Node ID 5b6db7d1461863da7014d2c46f8304b893b39282
# Parent  220d39af2e5779879dd9a7bf3af41d787b7ef9b6
summary: Clarify output for the commit summary

It is not clear what is meant with '1 modified, 1 unknown'. We clarify
this by adding 'file(s)'.

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2907,7 +2907,7 @@
         if st[i]:
             t.append('%d %s' % (len(st[i]), l))
 
-    t = ', '.join(t)
+    t = ', '.join(t) + _(' files')
 
     if len(parents) > 1:
         t += _(' (merge)')


More information about the Mercurial-devel mailing list