Mercurial > evolve
diff 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 |
line wrap: on
line diff
--- a/tests/test-issue-5720.t Tue Jan 09 15:33:57 2018 +0530 +++ b/tests/test-issue-5720.t Tue Jan 09 15:39:47 2018 +0530 @@ -77,11 +77,11 @@ Tip should stay in secret phase $ hg log -G -T "{rev}: {phase}" - @ 4: draft + @ 4: secret | o 3: draft | o 0: draft $ hg log -r . -T '{phase}\n' - draft + secret