tests/test-fold.t
branchmercurial-4.5
changeset 4362 8bd60e09dfb4
parent 3712 fbcf9e92097e
parent 4340 5300be965515
child 4363 a2fdbece7ce1
child 4785 f7bf347a17bb
--- a/tests/test-fold.t	Mon Dec 24 17:47:29 2018 +0100
+++ b/tests/test-fold.t	Tue Jan 22 12:55:09 2019 -0500
@@ -244,5 +244,29 @@
   |
   o  0 - 1ea73414a91b r0 [debugbuilddag] (public)
   
+Test order of proposed commit message
+
+  $ hg fold --exact --hidden -r 4 -r 5 -r 6
+  2 new content-divergent changesets
+  3 changesets folded
+  $ hg log -r tip -T '{desc}'
+  r4
+  
+  
+  r5
+  
+  
+  r6 (no-eol)
+  $ hg fold --exact --hidden -r 6 -r 4 -r 5
+  3 changesets folded
+  $ hg log -r tip -T '{desc}'
+  r4
+  
+  
+  r5
+  
+  
+  r6 (no-eol)
+
   $ cd ..