diff -r 4bc715f2a356 -r 2c480532f36e mercurial/commands.py --- a/mercurial/commands.py Tue Jan 10 13:48:42 2012 -0600 +++ b/mercurial/commands.py Tue Jan 10 10:18:19 2012 +0200 @@ -299,6 +299,9 @@ 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')), ('p', 'prefix', '', _('directory prefix for files in archive'),