comparison tests/test-stabilize-result.t @ 3385:823031b51d81

evolve: don't use graftstate for continuing `hg evolve` Before this patch, if user runs `hg evolve`, we read the evolve state, write a graftstate from that information and run graft command. This patch replaces that logic with new logic which does not depends on the graft state. The new logic is very filtered part of logic from graft command. We did not require a lot of opts checking and filtering revs logic from the graft command as our use case is fixed. This is the start of series/work which will make `hg evolve` better and have a good statefile for itself.
author Pulkit Goyal <7895pulkit@gmail.com>
date Sat, 06 Jan 2018 18:48:15 +0530
parents 612b3bd31499
children 39112fd4d5ed
comparison
equal deleted inserted replaced
3384:2b06f144b6e0 3385:823031b51d81
91 @@ -1,1 +1,3 @@ 91 @@ -1,1 +1,3 @@
92 a 92 a
93 +a 93 +a
94 +newer a 94 +newer a
95 $ hg evolve --continue 95 $ hg evolve --continue
96 grafting 4:3655f0f50885 "newer a" 96 evolving 4:3655f0f50885 "newer a"
97 abort: unresolved merge conflicts (see 'hg help resolve') 97 abort: unresolved merge conflicts (see 'hg help resolve')
98 [255] 98 [255]
99 $ hg resolve -m a 99 $ hg resolve -m a
100 (no more unresolved files) 100 (no more unresolved files)
101 $ hg evolve --continue 101 $ hg evolve --continue
102 grafting 4:3655f0f50885 "newer a" 102 evolving 4:3655f0f50885 "newer a"
103 103
104 Stabilize latecomer with different parent 104 Stabilize latecomer with different parent
105 ========================================= 105 =========================================
106 106
107 (the same-parent case is handled in test-evolve.t) 107 (the same-parent case is handled in test-evolve.t)