author | Pulkit Goyal <7895pulkit@gmail.com> |
Thu, 24 May 2018 00:58:50 +0530 | |
changeset 3772 | 6240579fd0c0 |
parent 3771 | 1f339d81aabd |
child 3839 | ac0717f23921 |
permissions | -rw-r--r-- |
3752
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
1 |
Tests for the --abort flag for `hg evolve` command while phase-divergence resolution |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
2 |
==================================================================================== |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
3 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
4 |
The `--abort` flag aborts the interuppted evolve by undoing all the work which |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
5 |
was done during resolution i.e. stripping new changesets created, moving |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
6 |
bookmarks back, moving working directory back. |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
7 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
8 |
This test contains cases when `hg evolve` is doing phase-divergence resolution. |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
9 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
10 |
Setup |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
11 |
===== |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
12 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
13 |
$ cat >> $HGRCPATH <<EOF |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
14 |
> [phases] |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
15 |
> publish = False |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
16 |
> [alias] |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
17 |
> glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
18 |
> [extensions] |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
19 |
> EOF |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
20 |
$ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
21 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
22 |
$ hg init abortrepo |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
23 |
$ cd abortrepo |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
24 |
$ echo ".*\.orig" > .hgignore |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
25 |
$ hg add .hgignore |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
26 |
$ hg ci -m "added hgignore" |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
27 |
$ for ch in a b c d; do echo foo > $ch; hg add $ch; hg ci -qm "added "$ch; done; |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
28 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
29 |
$ hg glog |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
30 |
@ 4:c41c793e0ef1 added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
31 |
| () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
32 |
o 3:ca1b80f7960a added c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
33 |
| () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
34 |
o 2:b1661037fa25 added b |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
35 |
| () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
36 |
o 1:c7586e2a9264 added a |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
37 |
| () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
38 |
o 0:8fa14d15e168 added hgignore |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
39 |
() draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
40 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
41 |
Creating phase divergence, resolution of which will lead to conflicts |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
42 |
---------------------------------------------------------------------- |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
43 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
44 |
$ hg up .^^^ |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
45 |
0 files updated, 0 files merged, 3 files removed, 0 files unresolved |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
46 |
$ hg grab -r .~-3 |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
47 |
grabbing 4:c41c793e0ef1 "added d" |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
48 |
$ echo foobar > c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
49 |
$ hg add c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
50 |
$ hg amend |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
51 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
52 |
$ hg glog --hidden |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
53 |
@ 6:ddba58020bc0 added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
54 |
| () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
55 |
| x 5:cfe30edc6125 added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
56 |
|/ () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
57 |
| x 4:c41c793e0ef1 added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
58 |
| | () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
59 |
| o 3:ca1b80f7960a added c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
60 |
| | () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
61 |
| o 2:b1661037fa25 added b |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
62 |
|/ () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
63 |
o 1:c7586e2a9264 added a |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
64 |
| () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
65 |
o 0:8fa14d15e168 added hgignore |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
66 |
() draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
67 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
68 |
$ hg phase -r c41c793e0ef1 --public --hidden |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
69 |
1 new phase-divergent changesets |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
70 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
71 |
$ hg glog |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
72 |
@ 6:ddba58020bc0 added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
73 |
| () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
74 |
| o 4:c41c793e0ef1 added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
75 |
| | () public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
76 |
| o 3:ca1b80f7960a added c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
77 |
| | () public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
78 |
| o 2:b1661037fa25 added b |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
79 |
|/ () public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
80 |
o 1:c7586e2a9264 added a |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
81 |
| () public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
82 |
o 0:8fa14d15e168 added hgignore |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
83 |
() public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
84 |
$ hg evolve --phase-divergent |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
85 |
recreate:[6] added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
86 |
atop:[4] added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
87 |
rebasing to destination parent: ca1b80f7960a |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
88 |
merging c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
89 |
warning: conflicts while merging c! (edit, then use 'hg resolve --mark') |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
90 |
evolution failed! |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
91 |
fix conflict then run 'hg evolve --continue' or use `hg evolve --abort` |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
92 |
abort: unresolved merge conflicts (see hg help resolve) |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
93 |
[255] |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
94 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
95 |
$ hg evolve --abort |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
96 |
evolve aborted |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
97 |
working directory is now at ddba58020bc0 |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
98 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
99 |
$ hg glog |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
100 |
@ 6:ddba58020bc0 added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
101 |
| () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
102 |
| o 4:c41c793e0ef1 added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
103 |
| | () public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
104 |
| o 3:ca1b80f7960a added c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
105 |
| | () public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
106 |
| o 2:b1661037fa25 added b |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
107 |
|/ () public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
108 |
o 1:c7586e2a9264 added a |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
109 |
| () public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
110 |
o 0:8fa14d15e168 added hgignore |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
111 |
() public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
112 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
113 |
When there are multiple phase-divergent changes, resolution of last one resulted |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
114 |
in conflicts |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
115 |
--------------------------------------------------------------------------------- |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
116 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
117 |
$ echo foo > c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
118 |
$ hg amend |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
119 |
$ hg phase -r ca1b80f --draft --force |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
120 |
$ hg prev |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
121 |
0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
122 |
[1] added a |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
123 |
$ hg grab -r ca1b80f |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
124 |
grabbing 3:ca1b80f7960a "added c" |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
125 |
$ echo foobar > b |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
126 |
$ hg add b |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
127 |
$ hg amend |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
128 |
$ hg phase -r c41c793e0ef1 --public --hidden |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
129 |
2 new phase-divergent changesets |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
130 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
131 |
$ hg evolve --list |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
132 |
e44ebefe4f54: added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
133 |
phase-divergent: c41c793e0ef1 (immutable precursor) |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
134 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
135 |
28cd06b3f801: added c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
136 |
phase-divergent: ca1b80f7960a (immutable precursor) |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
137 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
138 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
139 |
$ hg evolve --dry-run --all --phase-divergent |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
140 |
recreate:[7] added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
141 |
atop:[4] added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
142 |
hg rebase --rev e44ebefe4f54 --dest ca1b80f7960a; |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
143 |
hg update c41c793e0ef1; |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
144 |
hg revert --all --rev e44ebefe4f54; |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
145 |
hg commit --msg "phase-divergent update to e44ebefe4f54" |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
146 |
recreate:[9] added c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
147 |
atop:[3] added c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
148 |
hg rebase --rev 28cd06b3f801 --dest b1661037fa25; |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
149 |
hg update ca1b80f7960a; |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
150 |
hg revert --all --rev 28cd06b3f801; |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
151 |
hg commit --msg "phase-divergent update to 28cd06b3f801" |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
152 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
153 |
$ hg glog --hidden |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
154 |
@ 9:28cd06b3f801 added c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
155 |
| () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
156 |
| x 8:9ff8adbe8a24 added c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
157 |
|/ () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
158 |
| * 7:e44ebefe4f54 added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
159 |
|/ () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
160 |
| x 6:ddba58020bc0 added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
161 |
|/ () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
162 |
| x 5:cfe30edc6125 added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
163 |
|/ () draft |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
164 |
| o 4:c41c793e0ef1 added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
165 |
| | () public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
166 |
| o 3:ca1b80f7960a added c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
167 |
| | () public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
168 |
| o 2:b1661037fa25 added b |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
169 |
|/ () public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
170 |
o 1:c7586e2a9264 added a |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
171 |
| () public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
172 |
o 0:8fa14d15e168 added hgignore |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
173 |
() public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
174 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
175 |
$ hg evolve --phase-divergent --all |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
176 |
recreate:[7] added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
177 |
atop:[4] added d |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
178 |
rebasing to destination parent: ca1b80f7960a |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
179 |
computing new diff |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
180 |
committed as c41c793e0ef1 |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
181 |
recreate:[9] added c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
182 |
atop:[3] added c |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
183 |
rebasing to destination parent: b1661037fa25 |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
184 |
merging b |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
185 |
warning: conflicts while merging b! (edit, then use 'hg resolve --mark') |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
186 |
evolution failed! |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
187 |
fix conflict then run 'hg evolve --continue' or use `hg evolve --abort` |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
188 |
abort: unresolved merge conflicts (see hg help resolve) |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
189 |
[255] |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
190 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
191 |
$ hg evolve --abort |
3757
2bc60fcac354
evolve: make `--abort` strip the temporary revs created during resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3755
diff
changeset
|
192 |
1 new phase-divergent changesets |
3755
a19703c6d2bb
evolve: check for None before adding in set of revisions to strip
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3752
diff
changeset
|
193 |
evolve aborted |
a19703c6d2bb
evolve: check for None before adding in set of revisions to strip
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3752
diff
changeset
|
194 |
working directory is now at 28cd06b3f801 |
3752
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
195 |
|
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
196 |
$ hg glog --hidden |
3757
2bc60fcac354
evolve: make `--abort` strip the temporary revs created during resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3755
diff
changeset
|
197 |
@ 9:28cd06b3f801 added c |
3752
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
198 |
| () draft |
3757
2bc60fcac354
evolve: make `--abort` strip the temporary revs created during resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3755
diff
changeset
|
199 |
| x 8:9ff8adbe8a24 added c |
2bc60fcac354
evolve: make `--abort` strip the temporary revs created during resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3755
diff
changeset
|
200 |
|/ () draft |
2bc60fcac354
evolve: make `--abort` strip the temporary revs created during resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3755
diff
changeset
|
201 |
| * 7:e44ebefe4f54 added d |
2bc60fcac354
evolve: make `--abort` strip the temporary revs created during resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3755
diff
changeset
|
202 |
|/ () draft |
2bc60fcac354
evolve: make `--abort` strip the temporary revs created during resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3755
diff
changeset
|
203 |
| x 6:ddba58020bc0 added d |
2bc60fcac354
evolve: make `--abort` strip the temporary revs created during resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3755
diff
changeset
|
204 |
|/ () draft |
2bc60fcac354
evolve: make `--abort` strip the temporary revs created during resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3755
diff
changeset
|
205 |
| x 5:cfe30edc6125 added d |
2bc60fcac354
evolve: make `--abort` strip the temporary revs created during resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3755
diff
changeset
|
206 |
|/ () draft |
2bc60fcac354
evolve: make `--abort` strip the temporary revs created during resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3755
diff
changeset
|
207 |
| o 4:c41c793e0ef1 added d |
3752
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
208 |
| | () public |
3757
2bc60fcac354
evolve: make `--abort` strip the temporary revs created during resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3755
diff
changeset
|
209 |
| o 3:ca1b80f7960a added c |
2bc60fcac354
evolve: make `--abort` strip the temporary revs created during resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3755
diff
changeset
|
210 |
| | () public |
2bc60fcac354
evolve: make `--abort` strip the temporary revs created during resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3755
diff
changeset
|
211 |
| o 2:b1661037fa25 added b |
3752
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
212 |
|/ () public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
213 |
o 1:c7586e2a9264 added a |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
214 |
| () public |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
215 |
o 0:8fa14d15e168 added hgignore |
6878d708500a
tests: add a test file `--abort` flag while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
216 |
() public |
3771
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
217 |
|
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
218 |
When there are multiple conflicted phase-divergence resolution and we abort |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
219 |
after resolving one of them |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
220 |
---------------------------------------------------------------------------- |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
221 |
|
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
222 |
$ hg up e44ebefe4f54 |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
223 |
1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
224 |
$ echo foobar > c |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
225 |
$ hg amend |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
226 |
|
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
227 |
$ hg glog --hidden |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
228 |
@ 10:ef9b72b9b42c added d |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
229 |
| () draft |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
230 |
| * 9:28cd06b3f801 added c |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
231 |
|/ () draft |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
232 |
| x 8:9ff8adbe8a24 added c |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
233 |
|/ () draft |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
234 |
| x 7:e44ebefe4f54 added d |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
235 |
|/ () draft |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
236 |
| x 6:ddba58020bc0 added d |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
237 |
|/ () draft |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
238 |
| x 5:cfe30edc6125 added d |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
239 |
|/ () draft |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
240 |
| o 4:c41c793e0ef1 added d |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
241 |
| | () public |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
242 |
| o 3:ca1b80f7960a added c |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
243 |
| | () public |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
244 |
| o 2:b1661037fa25 added b |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
245 |
|/ () public |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
246 |
o 1:c7586e2a9264 added a |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
247 |
| () public |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
248 |
o 0:8fa14d15e168 added hgignore |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
249 |
() public |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
250 |
|
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
251 |
$ hg evolve --phase-divergent --all |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
252 |
recreate:[9] added c |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
253 |
atop:[3] added c |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
254 |
rebasing to destination parent: b1661037fa25 |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
255 |
merging b |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
256 |
warning: conflicts while merging b! (edit, then use 'hg resolve --mark') |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
257 |
evolution failed! |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
258 |
fix conflict then run 'hg evolve --continue' or use `hg evolve --abort` |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
259 |
abort: unresolved merge conflicts (see hg help resolve) |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
260 |
[255] |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
261 |
|
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
262 |
$ echo watwat > c |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
263 |
$ hg resolve -m |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
264 |
(no more unresolved files) |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
265 |
continue: hg evolve --continue |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
266 |
$ hg evolve --continue |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
267 |
evolving 9:28cd06b3f801 "added c" |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
268 |
computing new diff |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
269 |
committed as 95d746965290 |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
270 |
recreate:[10] added d |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
271 |
atop:[4] added d |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
272 |
rebasing to destination parent: ca1b80f7960a |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
273 |
merging c |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
274 |
warning: conflicts while merging c! (edit, then use 'hg resolve --mark') |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
275 |
evolution failed! |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
276 |
fix conflict then run 'hg evolve --continue' or use `hg evolve --abort` |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
277 |
abort: unresolved merge conflicts (see hg help resolve) |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
278 |
[255] |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
279 |
|
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
280 |
$ hg evolve --abort |
3772
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
281 |
1 new phase-divergent changesets |
3771
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
282 |
evolve aborted |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
283 |
working directory is now at ef9b72b9b42c |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
284 |
|
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
285 |
$ hg glog --hidden |
3772
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
286 |
@ 10:ef9b72b9b42c added d |
3771
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
287 |
| () draft |
3772
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
288 |
| * 9:28cd06b3f801 added c |
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
289 |
|/ () draft |
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
290 |
| x 8:9ff8adbe8a24 added c |
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
291 |
|/ () draft |
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
292 |
| x 7:e44ebefe4f54 added d |
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
293 |
|/ () draft |
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
294 |
| x 6:ddba58020bc0 added d |
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
295 |
|/ () draft |
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
296 |
| x 5:cfe30edc6125 added d |
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
297 |
|/ () draft |
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
298 |
| o 4:c41c793e0ef1 added d |
3771
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
299 |
| | () public |
3772
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
300 |
| o 3:ca1b80f7960a added c |
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
301 |
| | () public |
6240579fd0c0
evolve: fix storage of replacements and temprevs node in evolvestate
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3771
diff
changeset
|
302 |
| o 2:b1661037fa25 added b |
3771
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
303 |
|/ () public |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
304 |
o 1:c7586e2a9264 added a |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
305 |
| () public |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
306 |
o 0:8fa14d15e168 added hgignore |
1f339d81aabd
tests: add more tests related to aborting while resolving phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3757
diff
changeset
|
307 |
() public |