[PATCH] summary: Clarify output for the commit summary

David Soria Parra sn_ at gmx.net
Mon Oct 19 05:23:40 UTC 2009


# HG changeset patch
# User David Soria Parra <dsp at php.net>
# Date 1255929284 -7200
# Node ID b7c25514a250a9c9bfb90abe1a75d9444eafb176
# 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(s)')
 
     if len(parents) > 1:
         t += _(' (merge)')



More information about the Mercurial-devel mailing list