Mercurial > evolve
annotate tests/test-evolve-content-divergent-case-B1.t @ 5924:16f3fb304285
topic: add a 'topic.active' label to messages with active topic
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Mon, 17 May 2021 19:22:34 +0800 |
parents | 43a5371fa669 |
children | 53d63b608230 |
rev | line source |
---|---|
5784
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
1 =============================================== |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
2 Testing content-divergence resolution: Case B.1 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
3 =============================================== |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
4 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
5 Independent rewrites of same changeset can lead to content-divergence. In most |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
6 common cases, it can occur when multiple users rewrite the same changeset |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
7 independently and push it. |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
8 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
9 This test belongs to a series of tests checking the resolution of content-divergent |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
10 changesets. |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
11 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
12 Category B: parents are obsolete |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
13 Testcase 1: one side amended changes and other rebased to in-between successor of basep1 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
14 Variants: |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
15 # a: default resolution |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
16 # b: minimal resolution using `experimental.evolution.divergence-resolution-minimal=True` |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
17 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
18 B.1 Relocated backward; Rebased to parent's successor |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
19 ===================================================== |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
20 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
21 .. (Divergence reason): |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
22 .. local: rebased to the 'in-between' successor of basep1 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
23 .. other: amended some changes |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
24 .. The default resolution here is that we choose the final successor as resolution parent, |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
25 .. but this behavior can be changed to use the 'in-between' successor as resolution parent |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
26 .. by using a config option `experimental.evolution.divergence-resolution-minimal=True` |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
27 .. |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
28 .. This test case is considered complicated and can change its behavior acc. to the user |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
29 .. feedback. For more, please look at section 'D-A3.1' in troubles-handling.rst |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
30 .. |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
31 .. (local): |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
32 .. |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
33 .. B ø → ○ B' |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
34 .. | | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
35 .. A ø → ø A' → ○ A'' |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
36 .. | | | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
37 .. |---- | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
38 .. |----------- |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
39 .. | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
40 .. O ● |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
41 .. |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
42 .. (other): |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
43 .. |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
44 .. B ø→○ B' |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
45 .. | / |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
46 .. A ○ |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
47 .. | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
48 .. O ● |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
49 .. |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
50 .. (Resolution): |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
51 .. |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
52 .. ○ B''' |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
53 .. | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
54 .. ○ A'' |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
55 .. | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
56 .. ● O |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
57 .. |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
58 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
59 Setup |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
60 ----- |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
61 $ . $TESTDIR/testlib/content-divergence-util.sh |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
62 $ setuprepos B.1 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
63 creating test repo for test case B.1 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
64 - upstream |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
65 - local |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
66 - other |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
67 cd into `local` and proceed with env setup |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
68 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
69 initial |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
70 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
71 $ cd upstream |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
72 $ mkcommit A |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
73 $ mkcommit B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
74 $ cd ../local |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
75 $ hg pull -qu |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
76 $ hg prev |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
77 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
78 [1] A |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
79 $ echo fooA >> A |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
80 $ hg amend -m 'new_A' |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
81 1 new orphan changesets |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
82 $ hg evolve |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
83 move:[2] B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
84 atop:[3] new_A |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
85 $ echo barA >> A |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
86 $ hg amend -m 'latest_A' |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
87 1 new orphan changesets |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
88 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
89 $ cd ../other |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
90 $ hg pull -qu |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
91 $ echo fooB > B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
92 $ hg amend -m 'new_B' |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
93 $ hg push -q |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
94 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
95 $ cd ../local |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
96 $ hg push -fq |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
97 2 new orphan changesets |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
98 2 new content-divergent changesets |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
99 $ hg pull -q |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
100 1 new orphan changesets |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
101 2 new content-divergent changesets |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
102 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
103 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
104 Actual test of resolution |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
105 ------------------------- |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
106 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
107 Variant_a: default resolution |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
108 ----------------------------- |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
109 $ hg evolve -l |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
110 429afd16ac76: B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
111 orphan: 1ffcccee011c (obsolete parent) |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
112 content-divergent: 807cc2b37fb3 (draft) (precursor f6fbb35d8ac9) |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
113 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
114 807cc2b37fb3: new_B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
115 orphan: f5bc6836db60 (obsolete parent) |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
116 content-divergent: 429afd16ac76 (draft) (precursor f6fbb35d8ac9) |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
117 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
118 $ hg log -G |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
119 * 6:807cc2b37fb3 (draft): new_B [orphan content-divergent] |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
120 | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
121 | @ 5:45ed635c7cfc (draft): latest_A |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
122 | | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
123 | | * 4:429afd16ac76 (draft): B [orphan content-divergent] |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
124 | | | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
125 | | x 3:1ffcccee011c (draft): new_A |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
126 | |/ |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
127 x | 1:f5bc6836db60 (draft): A |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
128 |/ |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
129 o 0:a9bdc8b26820 (public): O |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
130 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
131 $ hg evolve --content-divergent |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
132 merge:[4] B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
133 with: [6] new_B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
134 base: [2] B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
135 rebasing "divergent" content-divergent changeset 429afd16ac76 on 45ed635c7cfc |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
136 rebasing "other" content-divergent changeset 807cc2b37fb3 on 45ed635c7cfc |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
137 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
138 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
139 $ hg log -G |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
140 o 9:6f740085e668 (draft): new_B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
141 | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
142 @ 5:45ed635c7cfc (draft): latest_A |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
143 | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
144 o 0:a9bdc8b26820 (public): O |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
145 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
146 $ hg evolve -l |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
147 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
148 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
149 Variant_b: minimal resolution |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
150 ----------------------------- |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
151 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
152 $ cd ../other |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
153 $ hg pull -q |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
154 2 new orphan changesets |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
155 2 new content-divergent changesets |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
156 $ hg evolve -l |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
157 807cc2b37fb3: new_B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
158 orphan: f5bc6836db60 (obsolete parent) |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
159 content-divergent: 429afd16ac76 (draft) (precursor f6fbb35d8ac9) |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
160 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
161 429afd16ac76: B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
162 orphan: 1ffcccee011c (obsolete parent) |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
163 content-divergent: 807cc2b37fb3 (draft) (precursor f6fbb35d8ac9) |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
164 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
165 $ hg log -G |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
166 o 6:45ed635c7cfc (draft): latest_A |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
167 | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
168 | * 5:429afd16ac76 (draft): B [orphan content-divergent] |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
169 | | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
170 | x 4:1ffcccee011c (draft): new_A |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
171 |/ |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
172 | @ 3:807cc2b37fb3 (draft): new_B [orphan content-divergent] |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
173 | | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
174 | x 1:f5bc6836db60 (draft): A |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
175 |/ |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
176 o 0:a9bdc8b26820 (public): O |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
177 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
178 $ hg evolve --content-divergent --config experimental.evolution.divergence-resolution-minimal=True |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
179 merge:[3] new_B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
180 with: [5] B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
181 base: [2] B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
182 rebasing "divergent" content-divergent changeset 807cc2b37fb3 on 1ffcccee011c |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
183 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
184 working directory is now at 2431e876af63 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
185 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
186 $ hg log -G |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
187 @ 8:2431e876af63 (draft): new_B [orphan] |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
188 | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
189 | o 6:45ed635c7cfc (draft): latest_A |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
190 | | |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
191 x | 4:1ffcccee011c (draft): new_A |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
192 |/ |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
193 o 0:a9bdc8b26820 (public): O |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
194 |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
195 $ hg evolve -l |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
196 2431e876af63: new_B |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
197 orphan: 1ffcccee011c (obsolete parent) |
43a5371fa669
divergence-resolution: add support and doc for a special case in divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
198 |