hgext/mq.py
changeset 7454 1d5ecaa47abb
parent 7453 9898427add1c
child 7566 5f7e3f17aece
child 7597 81f68565281c
--- 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: