Mercurial > public > mercurial-scm > hg-stable
diff hgext/mq.py @ 2301:7c2623aedeb4
Strip empty lines and trailing spaces around commit messages.
Fixes issue213 and part of issue249 (trying to keep node id on import)
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 17 May 2006 19:38:41 +0200 |
parents | 52b9b6751b2c |
children | 2785aeb51be4 |
line wrap: on
line diff
--- a/hgext/mq.py Wed May 17 19:00:16 2006 +0200 +++ b/hgext/mq.py Wed May 17 19:38:41 2006 +0200 @@ -139,7 +139,7 @@ # when looking for tags (subject: from: etc) they # end once you find a blank line in the source format = "tagdone" - else: + elif message or line: message.append(line) comments.append(line)