diff tests/test-evolve-phase.t @ 3388:be41e4740a25

evolve: use phases.new-commit config to retain phase information (issue5720) Since the previous patches replaced the use of graftstate with evolvestate and we don't graft anymore on evolve --continue, we have now the capability to fix underlying bugs. This patch makes sure we use the phases.new-commit config to make a new commit of the same phase as that of the predecessor. Tests added in the previous patch shows the bug being fixed.
author Pulkit Goyal <7895pulkit@gmail.com>
date Tue, 09 Jan 2018 15:39:47 +0530
parents b3be4797d3c6
children d1486760fb8d
line wrap: on
line diff
--- a/tests/test-evolve-phase.t	Tue Jan 09 15:33:57 2018 +0530
+++ b/tests/test-evolve-phase.t	Tue Jan 09 15:39:47 2018 +0530
@@ -107,9 +107,8 @@
   $ hg evolve -c
   evolving 2:13833940840c "c"
 
-XXX: Here 4 should be having secret phase just as same as 2
   $ hg glog
-  @  4 - 3d2080c198e5 c (draft)
+  @  4 - 3d2080c198e5 c (secret)
   |
   o  3 - 87495ea7c9ec b (draft)
   |