Mercurial > evolve
comparison tests/test-evolve-content-divergent-basic.t @ 5163:1752a2e7a226 mercurial-4.6
test-compat: merge mercurial-4.7 into mercurial-4.6
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 29 Feb 2020 15:18:00 +0700 |
parents | ecf0f3bc7468 900668a93629 |
children | 88f9bbba392d |
comparison
equal
deleted
inserted
replaced
5162:a7fb433faab6 | 5163:1752a2e7a226 |
---|---|
204 | 204 |
205 $ hg branch -r . foobar | 205 $ hg branch -r . foobar |
206 changed branch on 1 changesets | 206 changed branch on 1 changesets |
207 | 207 |
208 $ hg up c41c793e0ef1 --hidden | 208 $ hg up c41c793e0ef1 --hidden |
209 updating to a hidden changeset c41c793e0ef1 | |
210 (hidden revision 'c41c793e0ef1' was rewritten as: 9e5dffcb3d48) | |
209 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | 211 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
210 updated to hidden changeset c41c793e0ef1 | |
211 (hidden revision 'c41c793e0ef1' was rewritten as: 9e5dffcb3d48) | |
212 working directory parent is obsolete! (c41c793e0ef1) | 212 working directory parent is obsolete! (c41c793e0ef1) |
213 (use 'hg evolve' to update to its successor: 9e5dffcb3d48) | 213 (use 'hg evolve' to update to its successor: 9e5dffcb3d48) |
214 $ echo bar > d | 214 $ echo bar > d |
215 $ hg branch watwat | 215 $ hg branch watwat |
216 marked working directory as branch watwat | 216 marked working directory as branch watwat |
310 | 310 |
311 $ echo foo > d | 311 $ echo foo > d |
312 $ hg amend -m "foo to d" | 312 $ hg amend -m "foo to d" |
313 | 313 |
314 $ hg up a9d6fd6b5e40 --hidden | 314 $ hg up a9d6fd6b5e40 --hidden |
315 updating to a hidden changeset a9d6fd6b5e40 | |
316 (hidden revision 'a9d6fd6b5e40' was rewritten as: b10b07a394f1) | |
315 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 317 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
316 updated to hidden changeset a9d6fd6b5e40 | |
317 (hidden revision 'a9d6fd6b5e40' was rewritten as: b10b07a394f1) | |
318 working directory parent is obsolete! (a9d6fd6b5e40) | 318 working directory parent is obsolete! (a9d6fd6b5e40) |
319 (use 'hg evolve' to update to its successor: b10b07a394f1) | 319 (use 'hg evolve' to update to its successor: b10b07a394f1) |
320 $ echo babar > d | 320 $ echo babar > d |
321 $ hg amend -m "foo to d" | 321 $ hg amend -m "foo to d" |
322 2 new content-divergent changesets | 322 2 new content-divergent changesets |
370 | 370 |
371 $ echo bar > d | 371 $ echo bar > d |
372 $ hg amend -m "bar to d, expect beers" | 372 $ hg amend -m "bar to d, expect beers" |
373 | 373 |
374 $ hg up 11175423b5dc --hidden | 374 $ hg up 11175423b5dc --hidden |
375 updating to a hidden changeset 11175423b5dc | |
376 (hidden revision '11175423b5dc' was rewritten as: 27f0463f169a) | |
375 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 377 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
376 updated to hidden changeset 11175423b5dc | |
377 (hidden revision '11175423b5dc' was rewritten as: 27f0463f169a) | |
378 working directory parent is obsolete! (11175423b5dc) | 378 working directory parent is obsolete! (11175423b5dc) |
379 (use 'hg evolve' to update to its successor: 27f0463f169a) | 379 (use 'hg evolve' to update to its successor: 27f0463f169a) |
380 $ echo wat > d | 380 $ echo wat > d |
381 $ hg amend -m "wat to d, wat?" | 381 $ hg amend -m "wat to d, wat?" |
382 2 new content-divergent changesets | 382 2 new content-divergent changesets |
480 o 0:6569b5a81c7e@default(public) bk:[] root | 480 o 0:6569b5a81c7e@default(public) bk:[] root |
481 | 481 |
482 $ echo 'babar' >> a | 482 $ echo 'babar' >> a |
483 $ hg amend | 483 $ hg amend |
484 $ hg up --hidden 'min(desc("More addition"))' | 484 $ hg up --hidden 'min(desc("More addition"))' |
485 updating to a hidden changeset 867e43582046 | |
486 (hidden revision '867e43582046' was rewritten as: fc6349f931da) | |
485 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 487 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
486 updated to hidden changeset 867e43582046 | |
487 (hidden revision '867e43582046' was rewritten as: fc6349f931da) | |
488 working directory parent is obsolete! (867e43582046) | 488 working directory parent is obsolete! (867e43582046) |
489 (use 'hg evolve' to update to its successor: fc6349f931da) | 489 (use 'hg evolve' to update to its successor: fc6349f931da) |
490 $ mv a a.old | 490 $ mv a a.old |
491 $ echo 'jungle' > a | 491 $ echo 'jungle' > a |
492 $ cat a.old >> a | 492 $ cat a.old >> a |
573 Check conflict during content-divergence resolution | 573 Check conflict during content-divergence resolution |
574 --------------------------------------------------- | 574 --------------------------------------------------- |
575 | 575 |
576 | 576 |
577 $ hg up --hidden 'min(desc("More addition"))' | 577 $ hg up --hidden 'min(desc("More addition"))' |
578 updating to a hidden changeset 867e43582046 | |
579 (hidden revision '867e43582046' was rewritten as: 5bf84d1d71d1) | |
578 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 580 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
579 updated to hidden changeset 867e43582046 | |
580 (hidden revision '867e43582046' was rewritten as: 5bf84d1d71d1) | |
581 working directory parent is obsolete! (867e43582046) | 581 working directory parent is obsolete! (867e43582046) |
582 (use 'hg evolve' to update to its successor: 5bf84d1d71d1) | 582 (use 'hg evolve' to update to its successor: 5bf84d1d71d1) |
583 $ echo 'gotta break' >> a | 583 $ echo 'gotta break' >> a |
584 $ hg amend | 584 $ hg amend |
585 2 new content-divergent changesets | 585 2 new content-divergent changesets |
750 > VIII | 750 > VIII |
751 > IX | 751 > IX |
752 > EOF | 752 > EOF |
753 $ hg commit --amend -m E2 | 753 $ hg commit --amend -m E2 |
754 $ hg --hidden update -r 'desc(E1)' | 754 $ hg --hidden update -r 'desc(E1)' |
755 updating to a hidden changeset 4a250e5bd992 | |
756 (hidden revision '4a250e5bd992' was rewritten as: 084ae625fa51) | |
755 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | 757 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
756 updated to hidden changeset 4a250e5bd992 | |
757 (hidden revision '4a250e5bd992' was rewritten as: 084ae625fa51) | |
758 working directory parent is obsolete! (4a250e5bd992) | 758 working directory parent is obsolete! (4a250e5bd992) |
759 (use 'hg evolve' to update to its successor: 084ae625fa51) | 759 (use 'hg evolve' to update to its successor: 084ae625fa51) |
760 $ cat << EOF > numbers | 760 $ cat << EOF > numbers |
761 > one | 761 > one |
762 > 2 | 762 > 2 |