mercurial/commands.py
changeset 12918 5c3e5cd141ea
parent 12913 0e0a52bd58f9
child 12925 6eab8f0df2ca
--- 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)