diff tests/test-mq-qrefresh.t @ 22519:c87f2a5a6e49

mq: correctly make an empty line after description in new patches There would in some cases be an empty line between headers and the description - that does not seem right. There should also be an empty line between description and diff - but that was missing. These two mistakes would sometimes make it up for each other so we fix both at once to just show the improvement. Instead of writing an extra newline when writing a header line, write an extra line when it not is written as a part of the description but is necessary anyway.
author Mads Kiilerich <madski@unity3d.com>
date Sat, 20 Sep 2014 17:06:56 +0200
parents 55b367bff8d2
children 3f948469bac0
line wrap: on
line diff
--- a/tests/test-mq-qrefresh.t	Tue Sep 16 14:51:56 2014 -0700
+++ b/tests/test-mq-qrefresh.t	Sat Sep 20 17:06:56 2014 +0200
@@ -508,6 +508,7 @@
   $ cat .hg/patches/a
   # HG changeset patch
   # Parent 0000000000000000000000000000000000000000
+  
   diff --git a/a b/a
   new file mode 100644
   $ hg qpush
@@ -522,6 +523,7 @@
   $ cat .hg/patches/a
   # HG changeset patch
   # Parent 0000000000000000000000000000000000000000
+  
   diff --git a/a b/a
   new file mode 100644
   $ cd ..