tests/test-evolve-orphan-merge.t
branchstable
changeset 5097 f0c18ad24273
parent 4676 b6c819facbe8
child 5144 7fa4bb23a78a
--- a/tests/test-evolve-orphan-merge.t	Tue Jan 28 20:12:04 2020 +0700
+++ b/tests/test-evolve-orphan-merge.t	Mon Jan 27 14:55:35 2020 +0700
@@ -529,13 +529,17 @@
 case where merge commit becomes orphan with its ancestors pruned up until a
 point where the other parent of merge is the first non-pruned ancestor.
 
-  $ hg evolve -r .
+Note: allowing an empty commit here to have the same output on all hg versions.
+In newer versions or Mercurial this command would not create a new commit.
+hg <= 5.2 (32d11a23c9cf)
+
+  $ hg evolve -r . --config ui.allowemptycommit=true
   move:[28] merged l and x
   atop:[0] added hgignore
-  working directory is now at b61ba77b924a
+  working directory is now at * (glob)
 
   $ hg glog
-  @  29:b61ba77b924a merged l and x
+  @  29:* merged l and x (glob)
   |   () draft
   o  0:8fa14d15e168 added hgignore
       () draft