[PATCH] make qnew patch format consistent with qrefresh (issue1457)

Bernhard Leiner mailinglists.bleiner at gmail.com
Sat Jan 10 12:50:05 CST 2009


# HG changeset patch
# User Bernhard Leiner <bleiner at gmail.com>
# Date 1231612268 -3600
# Node ID fc8eb09ea5575b9142c7c7305947f73ec0ed2084
# Parent  6c89dd0a7797ae745eae566af2cbe3a5809f9535
make qnew patch format consistent with qrefresh (issue1457)

diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -756,7 +756,7 @@
                     self.series_dirty = 1
                     self.applied_dirty = 1
                     if msg:
-                        msg = msg + "\n"
+                        msg = msg + "\n\n"
                         p.write(msg)
                     if commitfiles:
                         diffopts = self.diffopts()


More information about the Mercurial-devel mailing list