mercurial/commands.py
changeset 22452 75e166b82c7a
parent 22433 ae1932dce9c1
child 22477 3c8ae79eacb0
--- a/mercurial/commands.py	Fri Sep 12 14:21:18 2014 -0700
+++ b/mercurial/commands.py	Fri Aug 29 05:09:59 2014 +0200
@@ -323,12 +323,11 @@
                 pieces.append(["%s%s%s" % (sep, ' ' * (ml - w), x)
                                for x, w in sized])
 
-        if pieces:
-            for p, l in zip(zip(*pieces), lines):
-                ui.write("%s: %s" % ("".join(p), l[1]))
-
-            if lines and not lines[-1][1].endswith('\n'):
-                ui.write('\n')
+        for p, l in zip(zip(*pieces), lines):
+            ui.write("%s: %s" % ("".join(p), l[1]))
+
+        if lines and not lines[-1][1].endswith('\n'):
+            ui.write('\n')
 
 @command('archive',
     [('', 'no-decode', None, _('do not pass files through decoders')),