diff --git a/mercurial/commands.py b/mercurial/commands.py index a419cb2395d5d8167d58f9466d2bee34e87d6b3a_bWVyY3VyaWFsL2NvbW1hbmRzLnB5..5c3e5cd141ea5b515568a9b6987bc4a760e8488e_bWVyY3VyaWFsL2NvbW1hbmRzLnB5 100644 --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -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)