Mercurial > evolve
annotate tests/test-evolve-content-divergent-case-A5.t @ 6889:a66cf9008781
obslog: also display patch for rebased changesets
This applies the same logic that is used for "merge-diff" to rebased
changesets. The successors' content is compared to the content of the
predecessors rebased in-memory on the new parents.
This highlights the changes that were actually introduced while rebasing (like
conflict resolution or API adjustment).
As a side effect, obslog now also outputs slightly more diffs for splits,
showing what parts of the original big changeset were moved to the smaller
split components (but for now it only works for the first few changesets).
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 22 Sep 2024 02:58:54 +0200 |
parents | 72f65a647203 |
children | fd039a7f0c3c |
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 .. |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
50 .. B'○ ○ C''' |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
51 .. | / |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
52 .. A ○ |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
53 .. | |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
54 .. O ● |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
55 .. |
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 Setup |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
58 ----- |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
59 $ . $TESTDIR/testlib/content-divergence-util.sh |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
60 $ setuprepos A.5 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
61 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
|
62 - upstream |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
63 - local |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
64 - other |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
65 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
|
66 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
67 initial |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
68 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
69 $ cd upstream |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
70 $ mkcommit A |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
71 $ mkcommit B |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
72 $ mkcommit C |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
73 $ cd ../local |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
74 $ hg pull -qu |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
75 $ 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
|
76 rebasing 3:d90aa47aa5d3 tip "C" |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
77 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
78 $ cd ../other |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
79 $ hg pull -qu |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
80 $ hg prev |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
81 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
|
82 [2] B |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
83 $ echo newB > B |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
84 $ hg amend |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
85 1 new orphan changesets |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
86 $ hg next |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
87 move:[3] C |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
88 atop:[4] B |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
89 working directory is now at f085ae420789 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
90 $ hg push -q |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
91 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
92 $ cd ../local |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
93 $ hg push -fq |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
94 2 new content-divergent changesets |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
95 $ hg pull -q |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
96 2 new content-divergent changesets |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
97 |
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 Actual test of resolution |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
100 ------------------------- |
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 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
|
103 ------------------------------------------- |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
104 $ hg evolve -l |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
105 b80b2bbeb664: C |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
106 content-divergent: f085ae420789 (draft) (precursor d90aa47aa5d3) |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
107 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
108 f085ae420789: C |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
109 content-divergent: b80b2bbeb664 (draft) (precursor d90aa47aa5d3) |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
110 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
111 $ hg log -G |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
112 * 6:f085ae420789 (draft): C [content-divergent] |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
113 | |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
114 o 5:7db72af2e30d (draft): B |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
115 | |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
116 | @ 4:b80b2bbeb664 (draft): C [content-divergent] |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
117 |/ |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
118 o 1:f5bc6836db60 (draft): A |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
119 | |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
120 o 0:a9bdc8b26820 (public): O |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
121 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
122 $ hg evolve --content-divergent |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
123 merge:[4] C |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
124 with: [6] C |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
125 base: [3] C |
5782
72f65a647203
divergence-resolution: take parent successors in account
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5781
diff
changeset
|
126 rebasing "other" content-divergent changeset f085ae420789 on f5bc6836db60 |
5781
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
127 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
5782
72f65a647203
divergence-resolution: take parent successors in account
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5781
diff
changeset
|
128 working directory is now at 88b737dc9dd8 |
5781
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
129 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
130 $ hg log -G |
5782
72f65a647203
divergence-resolution: take parent successors in account
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5781
diff
changeset
|
131 @ 8:88b737dc9dd8 (draft): C |
5781
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
132 | |
5782
72f65a647203
divergence-resolution: take parent successors in account
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5781
diff
changeset
|
133 | o 5:7db72af2e30d (draft): B |
72f65a647203
divergence-resolution: take parent successors in account
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5781
diff
changeset
|
134 |/ |
5781
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
135 o 1:f5bc6836db60 (draft): A |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
136 | |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
137 o 0:a9bdc8b26820 (public): O |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
138 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
139 $ hg evolve -l |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
140 |
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 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
|
143 ------------------------------------------- |
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 $ cd ../other |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
146 $ hg pull -q |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
147 2 new content-divergent changesets |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
148 $ hg evolve -l |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
149 f085ae420789: C |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
150 content-divergent: b80b2bbeb664 (draft) (precursor d90aa47aa5d3) |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
151 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
152 b80b2bbeb664: C |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
153 content-divergent: f085ae420789 (draft) (precursor d90aa47aa5d3) |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
154 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
155 $ hg log -G |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
156 * 6:b80b2bbeb664 (draft): C [content-divergent] |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
157 | |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
158 | @ 5:f085ae420789 (draft): C [content-divergent] |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
159 | | |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
160 | o 4:7db72af2e30d (draft): B |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
161 |/ |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
162 o 1:f5bc6836db60 (draft): A |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
163 | |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
164 o 0:a9bdc8b26820 (public): O |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
165 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
166 $ hg evolve --content-divergent |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
167 merge:[5] C |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
168 with: [6] C |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
169 base: [3] C |
5782
72f65a647203
divergence-resolution: take parent successors in account
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5781
diff
changeset
|
170 rebasing "divergent" content-divergent changeset f085ae420789 on f5bc6836db60 |
5781
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
171 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
5782
72f65a647203
divergence-resolution: take parent successors in account
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5781
diff
changeset
|
172 working directory is now at fa4ff8bb3531 |
5781
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
173 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
174 $ hg log -G |
5782
72f65a647203
divergence-resolution: take parent successors in account
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5781
diff
changeset
|
175 @ 8:fa4ff8bb3531 (draft): C |
5781
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
176 | |
5782
72f65a647203
divergence-resolution: take parent successors in account
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5781
diff
changeset
|
177 | o 4:7db72af2e30d (draft): B |
72f65a647203
divergence-resolution: take parent successors in account
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5781
diff
changeset
|
178 |/ |
5781
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
179 o 1:f5bc6836db60 (draft): A |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
180 | |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
181 o 0:a9bdc8b26820 (public): O |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
182 |
613a144de642
divergence-resolution: add a buggy test case for resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
diff
changeset
|
183 $ hg evolve -l |