Mercurial > evolve
comparison tests/test-stabilize-result.t @ 3106:a867d59ea97a mercurial-4.3
test-compat: revert output changes from phase renaming
We keep using the old name for the older version. test has to reflect that.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 20 Oct 2017 20:04:13 +0200 |
parents | f5d472b7e800 |
children | 706402d70b3f e1a230cc4527 |
comparison
equal
deleted
inserted
replaced
3105:f5d472b7e800 | 3106:a867d59ea97a |
---|---|
25 $ hg up 1 | 25 $ hg up 1 |
26 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 26 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
27 (leaving bookmark changea) | 27 (leaving bookmark changea) |
28 $ echo a >> a | 28 $ echo a >> a |
29 $ hg amend -m changea | 29 $ hg amend -m changea |
30 1 new orphan changesets | 30 1 new unstable changesets |
31 $ hg evolve -v --confirm | 31 $ hg evolve -v --confirm |
32 move:[2] changea | 32 move:[2] changea |
33 atop:[4] changea | 33 atop:[4] changea |
34 perform evolve? [Ny] n | 34 perform evolve? [Ny] n |
35 abort: evolve aborted by user | 35 abort: evolve aborted by user |
74 gdown have been deprecated in favor of previous | 74 gdown have been deprecated in favor of previous |
75 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 75 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
76 [4] changea | 76 [4] changea |
77 $ echo 'a' > a | 77 $ echo 'a' > a |
78 $ hg amend | 78 $ hg amend |
79 1 new orphan changesets | 79 1 new unstable changesets |
80 $ hg evolve | 80 $ hg evolve |
81 move:[5] newer a | 81 move:[5] newer a |
82 atop:[7] changea | 82 atop:[7] changea |
83 merging a | 83 merging a |
84 warning: conflicts while merging a! (edit, then use 'hg resolve --mark') | 84 warning: conflicts while merging a! (edit, then use 'hg resolve --mark') |
139 $ hg amend | 139 $ hg amend |
140 | 140 |
141 Make precursors public | 141 Make precursors public |
142 | 142 |
143 $ hg phase --hidden --public 1cf0aacfd363 | 143 $ hg phase --hidden --public 1cf0aacfd363 |
144 1 new phase-divergent changesets | 144 1 new bumped changesets |
145 $ glog | 145 $ glog |
146 @ 12:(73b15c7566e9|d5c7ef82d003)@default\(draft\) bk:\[\] newer a (re) | 146 @ 12:(73b15c7566e9|d5c7ef82d003)@default\(draft\) bk:\[\] newer a (re) |
147 | | 147 | |
148 o 9:7bc2f5967f5e@default(draft) bk:[] add c | 148 o 9:7bc2f5967f5e@default(draft) bk:[] add c |
149 | | 149 | |
157 Stabilize! | 157 Stabilize! |
158 | 158 |
159 $ hg evolve --any --dry-run --phasedivergent | 159 $ hg evolve --any --dry-run --phasedivergent |
160 recreate:[12] newer a | 160 recreate:[12] newer a |
161 atop:[8] newer a | 161 atop:[8] newer a |
162 hg rebase --rev d5c7ef82d003 --dest 66719795a494; | 162 hg rebase --rev (73b15c7566e9|d5c7ef82d003) --dest 66719795a494; (re) |
163 hg update 1cf0aacfd363; | 163 hg update 1cf0aacfd363; |
164 hg revert --all --rev d5c7ef82d003; | 164 hg revert --all --rev (73b15c7566e9|d5c7ef82d003); (re) |
165 hg commit --msg "bumped update to %s" (no-eol) | 165 hg commit --msg "bumped update to %s" (no-eol) |
166 $ hg evolve --any --confirm --phasedivergent | 166 $ hg evolve --any --confirm --phasedivergent |
167 recreate:[12] newer a | 167 recreate:[12] newer a |
168 atop:[8] newer a | 168 atop:[8] newer a |
169 perform evolve? [Ny] n | 169 perform evolve? [Ny] n |
205 > EOF | 205 > EOF |
206 $ hg ci -m 'More addition' | 206 $ hg ci -m 'More addition' |
207 $ glog | 207 $ glog |
208 @ 15:3932c176bbaa@default(draft) bk:[] More addition | 208 @ 15:3932c176bbaa@default(draft) bk:[] More addition |
209 | | 209 | |
210 | o 14:c2c1151aa854@default(draft) bk:[] bumped update to 1cf0aacfd363: | 210 | o 14:(a7cabd7bd9c2|671b9d7eeaec)@default\(draft\) bk:\[\] bumped update to 1cf0aacfd363: (re) |
211 | | | 211 | | |
212 o | 9:7bc2f5967f5e@default(draft) bk:[] add c | 212 o | 9:7bc2f5967f5e@default(draft) bk:[] add c |
213 | | | 213 | | |
214 | o 8:1cf0aacfd363@default(public) bk:[] newer a | 214 | o 8:1cf0aacfd363@default(public) bk:[] newer a |
215 |/ | 215 |/ |
226 $ mv a a.old | 226 $ mv a a.old |
227 $ echo 'jungle' > a | 227 $ echo 'jungle' > a |
228 $ cat a.old >> a | 228 $ cat a.old >> a |
229 $ rm a.old | 229 $ rm a.old |
230 $ hg amend | 230 $ hg amend |
231 2 new content-divergent changesets | 231 2 new divergent changesets |
232 $ glog | 232 $ glog |
233 @ 19:eacc9c8240fe@default(draft) bk:[] More addition | 233 @ 19:eacc9c8240fe@default(draft) bk:[] More addition |
234 | | 234 | |
235 | o 17:d2f173e25686@default(draft) bk:[] More addition | 235 | o 17:d2f173e25686@default(draft) bk:[] More addition |
236 |/ | 236 |/ |
237 | o 14:c2c1151aa854@default(draft) bk:[] bumped update to 1cf0aacfd363: | 237 | o 14:(a7cabd7bd9c2|671b9d7eeaec)@default\(draft\) bk:\[\] bumped update to 1cf0aacfd363: (re) |
238 | | | 238 | | |
239 o | 9:7bc2f5967f5e@default(draft) bk:[] add c | 239 o | 9:7bc2f5967f5e@default(draft) bk:[] add c |
240 | | | 240 | | |
241 | o 8:1cf0aacfd363@default(public) bk:[] newer a | 241 | o 8:1cf0aacfd363@default(public) bk:[] newer a |
242 |/ | 242 |/ |
287 working directory is now at f344982e63c4 | 287 working directory is now at f344982e63c4 |
288 $ hg st | 288 $ hg st |
289 $ glog | 289 $ glog |
290 @ 21:f344982e63c4@default(draft) bk:[] More addition | 290 @ 21:f344982e63c4@default(draft) bk:[] More addition |
291 | | 291 | |
292 | o 14:c2c1151aa854@default(draft) bk:[] bumped update to 1cf0aacfd363: | 292 | o 14:(a7cabd7bd9c2|671b9d7eeaec)@default\(draft\) bk:\[\] bumped update to 1cf0aacfd363: (re) |
293 | | | 293 | | |
294 o | 9:7bc2f5967f5e@default(draft) bk:[] add c | 294 o | 9:7bc2f5967f5e@default(draft) bk:[] add c |
295 | | | 295 | | |
296 | o 8:1cf0aacfd363@default(public) bk:[] newer a | 296 | o 8:1cf0aacfd363@default(public) bk:[] newer a |
297 |/ | 297 |/ |
336 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 336 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
337 working directory parent is obsolete! (3932c176bbaa) | 337 working directory parent is obsolete! (3932c176bbaa) |
338 (use 'hg evolve' to update to its successor: f344982e63c4) | 338 (use 'hg evolve' to update to its successor: f344982e63c4) |
339 $ echo 'gotta break' >> a | 339 $ echo 'gotta break' >> a |
340 $ hg amend | 340 $ hg amend |
341 2 new content-divergent changesets | 341 2 new divergent changesets |
342 # reamend so that the case is not the first precursor. | 342 # reamend so that the case is not the first precursor. |
343 $ hg amend -m "More addition (2)" | 343 $ hg amend -m "More addition (2)" |
344 $ hg phase 'contentdivergent()' | 344 $ hg phase 'contentdivergent()' |
345 21: draft | 345 21: draft |
346 24: draft | 346 24: draft |