author | Brendan Cully <brendan@kublai.com> |
Mon, 01 Dec 2008 20:10:02 -0800 | |
changeset 7454 | 1d5ecaa47abb |
parent 7453 | 9898427add1c |
child 7455 | c9fd5474a707 |
hgext/mq.py | file | annotate | diff | comparison | revisions |
--- a/hgext/mq.py Mon Dec 01 20:09:10 2008 -0800 +++ b/hgext/mq.py Mon Dec 01 20:10:02 2008 -0800 @@ -1932,7 +1932,8 @@ for p in patches: if not message: ph = q.readheaders(p) - messages.append(ph.message) + if ph.message: + messages.append(ph.message) pf = q.join(p) (patchsuccess, files, fuzz) = q.patch(repo, pf) if not patchsuccess: