Mercurial > evolve
comparison tests/test-issue-5720.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 | 2a51107e60cf |
children | e1f3e43a50a4 |
comparison
equal
deleted
inserted
replaced
3387:b3be4797d3c6 | 3388:be41e4740a25 |
---|---|
75 $ hg evolve --continue | 75 $ hg evolve --continue |
76 evolving 2:13833940840c "c" | 76 evolving 2:13833940840c "c" |
77 | 77 |
78 Tip should stay in secret phase | 78 Tip should stay in secret phase |
79 $ hg log -G -T "{rev}: {phase}" | 79 $ hg log -G -T "{rev}: {phase}" |
80 @ 4: draft | 80 @ 4: secret |
81 | | 81 | |
82 o 3: draft | 82 o 3: draft |
83 | | 83 | |
84 o 0: draft | 84 o 0: draft |
85 | 85 |
86 $ hg log -r . -T '{phase}\n' | 86 $ hg log -r . -T '{phase}\n' |
87 draft | 87 secret |