Mercurial > hg-stable
changeset 7454:1d5ecaa47abb
mq: filter out empty commit messages in qfold
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Mon, 01 Dec 2008 20:10:02 -0800 |
parents | 9898427add1c |
children | c9fd5474a707 |
files | hgext/mq.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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: