comparison tests/test-issue-5720.t @ 3440:42b3ac0a5b05 mercurial-4.3

test-compat: merge stable into mercurial-4.3
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Sat, 20 Jan 2018 12:38:09 +0100
parents 85cdce113c2c
children 98941c28f3e2
comparison
equal deleted inserted replaced
3439:6c772398eb4e 3440:42b3ac0a5b05
43 $ hg prev 43 $ hg prev
44 1 files updated, 0 files merged, 0 files removed, 0 files unresolved 44 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
45 [1] b 45 [1] b
46 $ echo b2 > a 46 $ echo b2 > a
47 $ hg amend 47 $ hg amend
48 1 new orphan changesets 48 1 new unstable changesets
49 $ hg log -G -T "{rev}: {phase}" 49 $ hg log -G -T "{rev}: {phase}"
50 @ 3: draft 50 @ 4: draft
51 | 51 |
52 | o 2: secret 52 | o 2: secret
53 | | 53 | |
54 | x 1: draft 54 | x 1: draft
55 |/ 55 |/
56 o 0: draft 56 o 0: draft
57 57
58 Evolve which triggers a conflict 58 Evolve which triggers a conflict
59 $ hg evolve 59 $ hg evolve
60 move:[2] c 60 move:[2] c
61 atop:[3] b 61 atop:[4] b
62 merging a 62 merging a
63 warning: conflicts while merging a! (edit, then use 'hg resolve --mark') 63 warning: conflicts while merging a! (edit, then use 'hg resolve --mark')
64 evolve failed! 64 evolve failed!
65 fix conflict and run 'hg evolve --continue' or use 'hg update -C .' to abort 65 fix conflict and run 'hg evolve --continue' or use 'hg update -C .' to abort
66 abort: unresolved merge conflicts (see hg help resolve) 66 abort: unresolved merge conflicts (see hg help resolve)
75 $ hg evolve --continue 75 $ hg evolve --continue
76 evolving 2:13833940840c "c" 76 evolving 2:13833940840c "c"
77 77
78 Tip should stay in secret phase 78 Tip should stay in secret phase
79 $ hg log -G -T "{rev}: {phase}" 79 $ hg log -G -T "{rev}: {phase}"
80 @ 4: secret 80 @ 5: secret
81 | 81 |
82 o 3: draft 82 o 4: draft
83 | 83 |
84 o 0: draft 84 o 0: draft
85 85
86 $ hg log -r . -T '{phase}\n' 86 $ hg log -r . -T '{phase}\n'
87 secret 87 secret