annotate tests/test-evolve-content-divergent-case-A5.t @ 5781:613a144de642

divergence-resolution: add a buggy test case for resolution Explained in more details in the test itself. This will be fixed by next patch.
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Thu, 28 Jan 2021 13:40:36 +0530
parents
children 72f65a647203
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5781
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
1 ===============================================
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
2 Testing content-divergence resolution: Case A.5
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
3 ===============================================
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
4
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
5 Independent rewrites of same changeset can lead to content-divergence. In most
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
6 common cases, it can occur when multiple users rewrite the same changeset
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
7 independently and push it.
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
8
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
9 This test belongs to a series of tests checking the resolution of content-divergent
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
10 changesets.
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
11
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
12 Category A: no parents are obsolete
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
13 Testcase 5: one side relocated backward and other rebased to parent's successor
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
14 Variants:
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
15 # a: "local" is relocated backward
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
16 # b: "other" is relocated backward
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
17
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
18 A.5 Relocated backward; Rebased to parent's successor
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
19 =====================================================
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
20
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
21 .. (Divergence reason):
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
22 .. local: relocated the changeset backward in the graph
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
23 .. other: rebased to the successor of parent
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
24 .. Since one side rebased to the successor of parent and other cset relocated backward,
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
25 .. the most reasonable behaviour is to set the parent of "backward-relocated" cset
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
26 .. as resolution parent of divergence.
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
27 ..
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
28 .. (local):
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
29 ..
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
30 .. C ø⇠○ C'
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
31 .. | |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
32 .. B ○ |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
33 .. | /
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
34 .. A ○
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
35 .. |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
36 .. O ●
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
37 ..
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
38 .. (other):
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
39 ..
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
40 .. C ø⇠○ C''
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
41 .. | |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
42 .. B ø⇠○ B'
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
43 .. | /
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
44 .. A ○
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
45 .. |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
46 .. O ●
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
47 ..
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
48 .. (Resolution):
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
49 XXX: current resolution is wrong and doesn't not do what we expect here, it will be fixed in next patch
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
50 ..
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
51 .. B'○ ○ C'''
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
52 .. | /
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
53 .. A ○
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
54 .. |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
55 .. O ●
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
56 ..
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
57
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
58 Setup
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
59 -----
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
60 $ . $TESTDIR/testlib/content-divergence-util.sh
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
61 $ setuprepos A.5
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
62 creating test repo for test case A.5
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
63 - upstream
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
64 - local
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
65 - other
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
66 cd into `local` and proceed with env setup
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
67
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
68 initial
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
69
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
70 $ cd upstream
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
71 $ mkcommit A
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
72 $ mkcommit B
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
73 $ mkcommit C
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
74 $ cd ../local
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
75 $ hg pull -qu
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
76 $ hg rebase -r 'desc(C)' -d 'desc(A)'
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
77 rebasing 3:d90aa47aa5d3 tip "C"
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
78
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
79 $ cd ../other
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
80 $ hg pull -qu
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
81 $ hg prev
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
82 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
83 [2] B
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
84 $ echo newB > B
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
85 $ hg amend
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
86 1 new orphan changesets
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
87 $ hg next
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
88 move:[3] C
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
89 atop:[4] B
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
90 working directory is now at f085ae420789
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
91 $ hg push -q
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
92
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
93 $ cd ../local
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
94 $ hg push -fq
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
95 2 new content-divergent changesets
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
96 $ hg pull -q
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
97 2 new content-divergent changesets
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
98
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
99
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
100 Actual test of resolution
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
101 -------------------------
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
102
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
103 Variant_a: when "local" is rebased backward
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
104 -------------------------------------------
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
105 $ hg evolve -l
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
106 b80b2bbeb664: C
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
107 content-divergent: f085ae420789 (draft) (precursor d90aa47aa5d3)
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
108
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
109 f085ae420789: C
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
110 content-divergent: b80b2bbeb664 (draft) (precursor d90aa47aa5d3)
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
111
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
112 $ hg log -G
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
113 * 6:f085ae420789 (draft): C [content-divergent]
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
114 |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
115 o 5:7db72af2e30d (draft): B
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
116 |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
117 | @ 4:b80b2bbeb664 (draft): C [content-divergent]
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
118 |/
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
119 o 1:f5bc6836db60 (draft): A
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
120 |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
121 o 0:a9bdc8b26820 (public): O
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
122
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
123 $ hg evolve --content-divergent
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
124 merge:[4] C
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
125 with: [6] C
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
126 base: [3] C
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
127 rebasing "divergent" content-divergent changeset b80b2bbeb664 on 7db72af2e30d
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
128 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
129 working directory is now at 43fe36f524e4
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
130
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
131 $ hg log -G
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
132 @ 8:43fe36f524e4 (draft): C
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
133 |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
134 o 5:7db72af2e30d (draft): B
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
135 |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
136 o 1:f5bc6836db60 (draft): A
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
137 |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
138 o 0:a9bdc8b26820 (public): O
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
139
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
140 $ hg evolve -l
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
141
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
142
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
143 Variant_b: when "other" is rebased backward
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
144 -------------------------------------------
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
145
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
146 $ cd ../other
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
147 $ hg pull -q
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
148 2 new content-divergent changesets
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
149 $ hg evolve -l
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
150 f085ae420789: C
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
151 content-divergent: b80b2bbeb664 (draft) (precursor d90aa47aa5d3)
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
152
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
153 b80b2bbeb664: C
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
154 content-divergent: f085ae420789 (draft) (precursor d90aa47aa5d3)
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
155
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
156 $ hg log -G
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
157 * 6:b80b2bbeb664 (draft): C [content-divergent]
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
158 |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
159 | @ 5:f085ae420789 (draft): C [content-divergent]
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
160 | |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
161 | o 4:7db72af2e30d (draft): B
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
162 |/
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
163 o 1:f5bc6836db60 (draft): A
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
164 |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
165 o 0:a9bdc8b26820 (public): O
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
166
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
167 $ hg evolve --content-divergent
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
168 merge:[5] C
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
169 with: [6] C
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
170 base: [3] C
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
171 rebasing "other" content-divergent changeset b80b2bbeb664 on 7db72af2e30d
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
172 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
173 working directory is now at 5844b6472deb
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
174
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
175 $ hg log -G
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
176 @ 8:5844b6472deb (draft): C
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
177 |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
178 o 4:7db72af2e30d (draft): B
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
179 |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
180 o 1:f5bc6836db60 (draft): A
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
181 |
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
182 o 0:a9bdc8b26820 (public): O
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
183
613a144de642 divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff changeset
184 $ hg evolve -l