diff -r a419cb2395d5 -r 5c3e5cd141ea mercurial/commands.py --- a/mercurial/commands.py Wed Nov 03 22:34:16 2010 +0100 +++ b/mercurial/commands.py Thu Nov 04 11:33:57 2010 -0500 @@ -2383,7 +2383,7 @@ raise util.Abort(_('no diffs found')) if msgs: - repo.opener('last-message.txt', 'wb').write('* * *\n'.join(msgs)) + repo.opener('last-message.txt', 'wb').write('\n* * *\n'.join(msgs)) finally: release(lock, wlock)