--- 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 ..