Begin commit messages with two empty lines.
This makes editors like Emacs wrap the commit message correctly. With
no empty line between the commit message and the 'HG:' lines, the
'HG:' lines would be wrapped as if they belonged to the commit message
and so lose their significance to Mercurial.
This makes no difference to what is stored by the commit -- whitespace
was already stripped from the beginning and end of commit messages.
--- a/mercurial/localrepo.py Tue Aug 19 18:07:26 2008 -0700
+++ b/mercurial/localrepo.py Sat Mar 29 23:05:45 2008 +0100
@@ -879,6 +879,7 @@
if text:
edittext.append(text)
edittext.append("")
+ edittext.append("") # Empty line between message and comments.
edittext.append(_("HG: Enter commit message."
" Lines beginning with 'HG:' are removed."))
edittext.append("HG: --")