Mercurial > hg
changeset 12918:5c3e5cd141ea
import: add another line feed to message join string
Changeset descriptions are not guaranteed to have a trailing carriage
return.
author | Steve Borho <steve@borho.org> |
---|---|
date | Thu, 04 Nov 2010 11:33:57 -0500 |
parents | a419cb2395d5 |
children | 0071c8fc2fa6 |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)