Don't show empty list of files in hg log -v.
--- a/mercurial/commands.py Wed Oct 18 12:17:02 2006 +0200
+++ b/mercurial/commands.py Wed Oct 18 12:26:12 2006 +0200
@@ -361,7 +361,7 @@
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]
--- a/tests/test-rawcommit1.out Wed Oct 18 12:17:02 2006 +0200
+++ b/tests/test-rawcommit1.out Wed Oct 18 12:26:12 2006 +0200
@@ -58,7 +58,6 @@
parent: 5:f56d4c64ab98
user: test
date: Mon Jan 12 13:46:40 1970 +0000
-files:
description:
6
@@ -70,7 +69,6 @@
tag: tip
user: test
date: Mon Jan 12 13:46:40 1970 +0000
-files:
description:
7