comparison mercurial/commands.py @ 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 0e0a52bd58f9
children 6eab8f0df2ca
comparison
equal deleted inserted replaced
12917:a419cb2395d5 12918:5c3e5cd141ea
2381 2381
2382 if not haspatch: 2382 if not haspatch:
2383 raise util.Abort(_('no diffs found')) 2383 raise util.Abort(_('no diffs found'))
2384 2384
2385 if msgs: 2385 if msgs:
2386 repo.opener('last-message.txt', 'wb').write('* * *\n'.join(msgs)) 2386 repo.opener('last-message.txt', 'wb').write('\n* * *\n'.join(msgs))
2387 finally: 2387 finally:
2388 release(lock, wlock) 2388 release(lock, wlock)
2389 2389
2390 def incoming(ui, repo, source="default", **opts): 2390 def incoming(ui, repo, source="default", **opts):
2391 """show new changesets found in source 2391 """show new changesets found in source