Mercurial > evolve
annotate tests/test-evolve-content-divergent-case-A4.t @ 5927:0b7328d7503a stable
tests: add simple auto-publish checks alongside publish-bare-branch checks
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 19 May 2021 09:59:53 +0800 |
parents | c2fab88e6d60 |
children | 03410b04cf10 |
rev | line source |
---|---|
5392
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
1 =============================================== |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
2 Testing content-divergence resolution: Case A.4 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
3 =============================================== |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
4 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
5 Independent rewrites of same changeset can lead to content-divergence. In most |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
6 common cases, it can occur when multiple users rewrite the same changeset |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
7 independently and push it. |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
8 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
9 This test belongs to a series of tests checking the resolution of content-divergent |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
10 changesets. |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
11 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
12 Category A: no parents are obsolete |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
13 Testcase 4: both sides relocated forward to different location but aligned |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
14 Variants: |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
15 # a: local is ahead of other |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
16 # b: other is ahead of local |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
17 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
18 A.4 Both relocated forward |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
19 ========================== |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
20 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
21 .. (Divergence reason): |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
22 .. local: relocated the changeset forward in the graph but on the same topo branch |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
23 .. other: relocated the changeset forward in the graph but on the same topo branch |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
24 .. Where we show that since both changesets relocated forward in the graph, |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
25 .. we can assume the reason for ahead one being ahead is that it's rebased on the latest changes and |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
26 .. its parent should be the resolution parent. So, we will relocate the other changeset to resolution |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
27 .. parent and perform 3-way merge. |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
28 .. |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
29 .. (local): |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
30 .. |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
31 .. D ø⇠○ D' |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
32 .. | | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
33 .. | ○ C |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
34 .. | | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
35 .. | ○ B |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
36 .. \ | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
37 .. ○ A |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
38 .. | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
39 .. ● O |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
40 .. |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
41 .. (other): |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
42 .. |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
43 .. D ø⇠○ D'' |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
44 .. | | ○ C |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
45 .. | | / |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
46 .. | ○ B |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
47 .. \ | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
48 .. ○ A |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
49 .. | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
50 .. ● O |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
51 .. |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
52 .. (Resolution): |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
53 .. ○ D''' |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
54 .. | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
55 .. ○ C |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
56 .. | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
57 .. ○ B |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
58 .. | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
59 .. ○ A |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
60 .. | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
61 .. ● O |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
62 .. |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
63 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
64 Setup |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
65 ----- |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
66 $ . $TESTDIR/testlib/content-divergence-util.sh |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
67 $ setuprepos A.4 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
68 creating test repo for test case A.4 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
69 - upstream |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
70 - local |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
71 - other |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
72 cd into `local` and proceed with env setup |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
73 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
74 initial |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
75 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
76 $ cd upstream |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
77 $ mkcommit A |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
78 $ mkcommit B |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
79 $ mkcommit C |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
80 $ hg co -r 'desc(A)' |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
81 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
82 $ mkcommit D |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
83 created new head |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
84 $ cd ../local |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
85 $ hg pull -qu |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
86 $ hg rebase -r 'desc(D)' -d 'desc(C)' |
5647
c2fab88e6d60
tests: rebase now produces different "one-line summary" output
Martin von Zweigbergk <martinvonz@google.com>
parents:
5572
diff
changeset
|
87 rebasing 4:6a418860e87b tip "D" |
5392
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
88 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
89 $ cd ../other |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
90 $ hg pull -qu |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
91 $ hg rebase -r 'desc(D)' -d 'desc(B)' |
5647
c2fab88e6d60
tests: rebase now produces different "one-line summary" output
Martin von Zweigbergk <martinvonz@google.com>
parents:
5572
diff
changeset
|
92 rebasing 4:6a418860e87b tip "D" |
5392
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
93 $ hg push -q |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
94 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
95 $ cd ../local |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
96 $ hg push -q |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
97 2 new content-divergent changesets |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
98 $ hg pull -q |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
99 2 new content-divergent changesets |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
100 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
101 Actual test of resolution |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
102 ------------------------- |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
103 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
104 Variant_a: when local is ahead of other |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
105 --------------------------------------- |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
106 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
107 $ hg evolve -l |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
108 d203ddccc9cc: D |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
109 content-divergent: 5d3fd66cb347 (draft) (precursor 6a418860e87b) |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
110 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
111 5d3fd66cb347: D |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
112 content-divergent: d203ddccc9cc (draft) (precursor 6a418860e87b) |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
113 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
114 $ hg log -G --hidden |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
115 * 6:5d3fd66cb347 (draft): D [content-divergent] |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
116 | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
117 | @ 5:d203ddccc9cc (draft): D [content-divergent] |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
118 | | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
119 | | x 4:6a418860e87b (draft): D |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
120 | | | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
121 | o | 3:d90aa47aa5d3 (draft): C |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
122 |/ / |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
123 o / 2:f6fbb35d8ac9 (draft): B |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
124 |/ |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
125 o 1:f5bc6836db60 (draft): A |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
126 | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
127 o 0:a9bdc8b26820 (public): O |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
128 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
129 $ hg evolve --content-divergent |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
130 merge:[5] D |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
131 with: [6] D |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
132 base: [4] D |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
133 rebasing "other" content-divergent changeset 5d3fd66cb347 on d90aa47aa5d3 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
134 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
135 working directory is now at 898f6bbfb21e |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
136 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
137 $ hg log -G |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
138 @ 8:898f6bbfb21e (draft): D |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
139 | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
140 o 3:d90aa47aa5d3 (draft): C |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
141 | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
142 o 2:f6fbb35d8ac9 (draft): B |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
143 | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
144 o 1:f5bc6836db60 (draft): A |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
145 | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
146 o 0:a9bdc8b26820 (public): O |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
147 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
148 $ hg evolve -l |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
149 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
150 Variant_b: when other is ahead of local |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
151 --------------------------------------- |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
152 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
153 $ cd ../other |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
154 $ hg pull -q |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
155 2 new content-divergent changesets |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
156 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
157 $ hg evolve -l |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
158 5d3fd66cb347: D |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
159 content-divergent: d203ddccc9cc (draft) (precursor 6a418860e87b) |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
160 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
161 d203ddccc9cc: D |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
162 content-divergent: 5d3fd66cb347 (draft) (precursor 6a418860e87b) |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
163 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
164 $ hg log -G --hidden |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
165 * 6:d203ddccc9cc (draft): D [content-divergent] |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
166 | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
167 | @ 5:5d3fd66cb347 (draft): D [content-divergent] |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
168 | | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
169 | | x 4:6a418860e87b (draft): D |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
170 | | | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
171 o | | 3:d90aa47aa5d3 (draft): C |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
172 |/ / |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
173 o / 2:f6fbb35d8ac9 (draft): B |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
174 |/ |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
175 o 1:f5bc6836db60 (draft): A |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
176 | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
177 o 0:a9bdc8b26820 (public): O |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
178 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
179 $ hg evolve --content-divergent |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5392
diff
changeset
|
180 merge:[5] D |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5392
diff
changeset
|
181 with: [6] D |
5392
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
182 base: [4] D |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5392
diff
changeset
|
183 rebasing "divergent" content-divergent changeset 5d3fd66cb347 on d90aa47aa5d3 |
5392
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
184 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5392
diff
changeset
|
185 working directory is now at b2ef9cafa8ac |
5392
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
186 |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
187 $ hg log -G |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5392
diff
changeset
|
188 @ 8:b2ef9cafa8ac (draft): D |
5392
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
189 | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
190 o 3:d90aa47aa5d3 (draft): C |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
191 | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
192 o 2:f6fbb35d8ac9 (draft): B |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
193 | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
194 o 1:f5bc6836db60 (draft): A |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
195 | |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
196 o 0:a9bdc8b26820 (public): O |
5c08b3bec031
evolve: add test for content-div case A4
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
197 |