comparison tests/test-evolve-content-divergence.t @ 4204:2a7f89817540 mercurial-4.6

test-compat: merge mercurial-4.7 into mercurial-4.6
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 25 Oct 2018 13:03:30 +0200
parents f555039d1a08 e541acefbaa5
children 04aeaec6ec07
comparison
equal deleted inserted replaced
4203:7ca5220df152 4204:2a7f89817540
36 36
37 $ hg branch -r . foobar 37 $ hg branch -r . foobar
38 changed branch on 1 changesets 38 changed branch on 1 changesets
39 39
40 $ hg up c41c793e0ef1 --hidden 40 $ hg up c41c793e0ef1 --hidden
41 updating to a hidden changeset c41c793e0ef1
42 (hidden revision 'c41c793e0ef1' was rewritten as: 9e5dffcb3d48)
41 0 files updated, 0 files merged, 0 files removed, 0 files unresolved 43 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
42 updated to hidden changeset c41c793e0ef1
43 (hidden revision 'c41c793e0ef1' was rewritten as: 9e5dffcb3d48)
44 working directory parent is obsolete! (c41c793e0ef1) 44 working directory parent is obsolete! (c41c793e0ef1)
45 (use 'hg evolve' to update to its successor: 9e5dffcb3d48) 45 (use 'hg evolve' to update to its successor: 9e5dffcb3d48)
46 $ echo bar > d 46 $ echo bar > d
47 $ hg branch watwat 47 $ hg branch watwat
48 marked working directory as branch watwat 48 marked working directory as branch watwat
144 144
145 $ echo foo > d 145 $ echo foo > d
146 $ hg amend -m "foo to d" 146 $ hg amend -m "foo to d"
147 147
148 $ hg up a9d6fd6b5e40 --hidden 148 $ hg up a9d6fd6b5e40 --hidden
149 updating to a hidden changeset a9d6fd6b5e40
150 (hidden revision 'a9d6fd6b5e40' was rewritten as: b10b07a394f1)
149 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 151 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
150 updated to hidden changeset a9d6fd6b5e40
151 (hidden revision 'a9d6fd6b5e40' was rewritten as: b10b07a394f1)
152 working directory parent is obsolete! (a9d6fd6b5e40) 152 working directory parent is obsolete! (a9d6fd6b5e40)
153 (use 'hg evolve' to update to its successor: b10b07a394f1) 153 (use 'hg evolve' to update to its successor: b10b07a394f1)
154 $ echo babar > d 154 $ echo babar > d
155 $ hg amend -m "foo to d" 155 $ hg amend -m "foo to d"
156 2 new content-divergent changesets 156 2 new content-divergent changesets
204 204
205 $ echo bar > d 205 $ echo bar > d
206 $ hg amend -m "bar to d, expect beers" 206 $ hg amend -m "bar to d, expect beers"
207 207
208 $ hg up 11175423b5dc --hidden 208 $ hg up 11175423b5dc --hidden
209 updating to a hidden changeset 11175423b5dc
210 (hidden revision '11175423b5dc' was rewritten as: 27f0463f169a)
209 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 211 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
210 updated to hidden changeset 11175423b5dc
211 (hidden revision '11175423b5dc' was rewritten as: 27f0463f169a)
212 working directory parent is obsolete! (11175423b5dc) 212 working directory parent is obsolete! (11175423b5dc)
213 (use 'hg evolve' to update to its successor: 27f0463f169a) 213 (use 'hg evolve' to update to its successor: 27f0463f169a)
214 $ echo wat > d 214 $ echo wat > d
215 $ hg amend -m "wat to d, wat?" 215 $ hg amend -m "wat to d, wat?"
216 2 new content-divergent changesets 216 2 new content-divergent changesets
407 marked working directory as branch bar 407 marked working directory as branch bar
408 (branches are permanent and global, did you want a bookmark?) 408 (branches are permanent and global, did you want a bookmark?)
409 $ hg amend -m "added foo to x" 409 $ hg amend -m "added foo to x"
410 410
411 $ hg up 71a392c714b5 --hidden 411 $ hg up 71a392c714b5 --hidden
412 updating to a hidden changeset 71a392c714b5
413 (hidden revision '71a392c714b5' was rewritten as: 1e1a50385a7d)
412 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 414 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
413 updated to hidden changeset 71a392c714b5
414 (hidden revision '71a392c714b5' was rewritten as: 1e1a50385a7d)
415 working directory parent is obsolete! (71a392c714b5) 415 working directory parent is obsolete! (71a392c714b5)
416 (use 'hg evolve' to update to its successor: 1e1a50385a7d) 416 (use 'hg evolve' to update to its successor: 1e1a50385a7d)
417 $ hg rebase -r . -d 4ae4427ee9f8 --config experimental.evolution.allowdivergence=True 417 $ hg rebase -r . -d 4ae4427ee9f8 --config experimental.evolution.allowdivergence=True
418 rebasing 11:71a392c714b5 "added x" 418 rebasing 11:71a392c714b5 "added x"
419 2 new content-divergent changesets 419 2 new content-divergent changesets
492 492
493 $ echo bar > y 493 $ echo bar > y
494 $ hg amend 494 $ hg amend
495 495
496 $ hg up fc6ad2bac162 --hidden 496 $ hg up fc6ad2bac162 --hidden
497 updating to a hidden changeset fc6ad2bac162
498 (hidden revision 'fc6ad2bac162' was rewritten as: 2a9f6ccbdeba)
497 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 499 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
498 updated to hidden changeset fc6ad2bac162
499 (hidden revision 'fc6ad2bac162' was rewritten as: 2a9f6ccbdeba)
500 working directory parent is obsolete! (fc6ad2bac162) 500 working directory parent is obsolete! (fc6ad2bac162)
501 (use 'hg evolve' to update to its successor: 2a9f6ccbdeba) 501 (use 'hg evolve' to update to its successor: 2a9f6ccbdeba)
502 $ hg rebase -r . -d b006cf317e0e --config experimental.evolution.allowdivergence=True 502 $ hg rebase -r . -d b006cf317e0e --config experimental.evolution.allowdivergence=True
503 rebasing 16:fc6ad2bac162 "added y" 503 rebasing 16:fc6ad2bac162 "added y"
504 2 new content-divergent changesets 504 2 new content-divergent changesets
627 $ echo foo > y 627 $ echo foo > y
628 $ hg add y 628 $ hg add y
629 $ hg amend 629 $ hg amend
630 630
631 $ hg up daf1de08f3b0 --hidden 631 $ hg up daf1de08f3b0 --hidden
632 updating to a hidden changeset daf1de08f3b0
633 (hidden revision 'daf1de08f3b0' was rewritten as: 3f7a1f693080)
632 0 files updated, 0 files merged, 1 files removed, 0 files unresolved 634 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
633 updated to hidden changeset daf1de08f3b0
634 (hidden revision 'daf1de08f3b0' was rewritten as: 3f7a1f693080)
635 working directory parent is obsolete! (daf1de08f3b0) 635 working directory parent is obsolete! (daf1de08f3b0)
636 (use 'hg evolve' to update to its successor: 3f7a1f693080) 636 (use 'hg evolve' to update to its successor: 3f7a1f693080)
637 $ hg rebase -r . -d 7bbcf24ddecf --config experimental.evolution.allowdivergence=True 637 $ hg rebase -r . -d 7bbcf24ddecf --config experimental.evolution.allowdivergence=True
638 rebasing 22:daf1de08f3b0 "added z" 638 rebasing 22:daf1de08f3b0 "added z"
639 2 new content-divergent changesets 639 2 new content-divergent changesets