author | Mads Kiilerich <madski@unity3d.com> |
Sat, 16 Nov 2013 15:46:28 -0500 | |
changeset 20053 | 2455e96ec73b |
parent 20052 | 79d3b6a45351 |
child 20054 | d0789ce427ac |
hgext/mq.py | file | annotate | diff | comparison | revisions |
--- a/hgext/mq.py Sat Nov 16 15:46:29 2013 -0500 +++ b/hgext/mq.py Sat Nov 16 15:46:28 2013 -0500 @@ -2565,8 +2565,10 @@ ph = patchheader(q.join(parent), q.plainmode) message, user = ph.message, ph.user for msg in messages: - message.append('* * *') - message.extend(msg) + if msg: + if message: + message.append('* * *') + message.extend(msg) message = '\n'.join(message) if opts.get('edit'):