diff mercurial/commands.py @ 3455:10b6fc51f672

Don't show empty list of files in hg log -v.
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 18 Oct 2006 12:26:12 +0200
parents 6e998a4575c6
children 2d35a8d2b32d
line wrap: on
line diff
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -361,7 +361,7 @@ class changeset_printer(object):
                                   files):
                 if value:
                     self.ui.note("%-12s %s\n" % (key, " ".join(value)))
-        else:
+        elif changes[3]:
             self.ui.note(_("files:       %s\n") % " ".join(changes[3]))
         if copies:
             copies = ['%s (%s)' % c for c in copies]