Mercurial > hg
changeset 3460: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 | 0600d326d96a |
children | 451ec905625b |
files | mercurial/commands.py tests/test-rawcommit1.out |
diffstat | 2 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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