tests/test-fold.t
changeset 4340 5300be965515
parent 3663 54a469cd5b26
child 4362 8bd60e09dfb4
child 4723 41885988921e
--- a/tests/test-fold.t	Wed Dec 26 14:52:07 2018 +0800
+++ b/tests/test-fold.t	Fri Jan 11 09:26:41 2019 -0800
@@ -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 ..