Mercurial > evolve
annotate tests/test-evolve-content-divergent-stack.t @ 6655:81fe0a498447 stable
topic: internal config option to fix hg pick behavior (issue6406)
After some consideration, hg pick was made to always use current topic (and
topic namespace), even if it's not set, in which case the resulting changeset
will not have any topic.
Previously the intended behavior was to only update topic if there was an
active topic, and not touch commit extras at all otherwise. That wasn't ideal,
since pick doesn't change active topic, and amending the just-picked commit
would unset its topic without clear user's intent to do so and to their
surprise.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 27 Jan 2024 17:36:39 -0300 |
parents | 53d63b608230 |
children | 1328195f76a9 |
rev | line source |
---|---|
4481
d02a7c8cdee5
test: consolidate the content-divergent test cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4424
diff
changeset
|
1 ================================================= |
d02a7c8cdee5
test: consolidate the content-divergent test cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4424
diff
changeset
|
2 Tests the resolution of content divergence: stack |
d02a7c8cdee5
test: consolidate the content-divergent test cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4424
diff
changeset
|
3 ================================================= |
d02a7c8cdee5
test: consolidate the content-divergent test cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4424
diff
changeset
|
4 |
d02a7c8cdee5
test: consolidate the content-divergent test cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4424
diff
changeset
|
5 This file intend to cover case with stacks of divergent changesets |
3790
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
6 |
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
7 $ cat >> $HGRCPATH <<EOF |
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
8 > [alias] |
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
9 > glog = log -GT "{rev}:{node|short} {desc|firstline}\n ({bookmarks}) [{branch}] {phase}" |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
10 > [phases] |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
11 > publish = False |
3790
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
12 > [extensions] |
5015
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
13 > strip = |
3804
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
14 > rebase = |
3790
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
15 > EOF |
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
16 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH |
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
17 |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
18 Resolving content-divergence of a stack with same parents |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
19 --------------------------------------------------------- |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
20 |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
21 $ hg init stacktest |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
22 $ cd stacktest |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
23 $ echo ".*\.orig" > .hgignore |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
24 $ hg add .hgignore |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
25 $ hg ci -m "added hgignore" |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
26 $ for ch in a b c d; do echo foo > $ch; hg add $ch; hg ci -qm "added "$ch; done; |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
27 |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
28 $ hg glog |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
29 @ 4:c41c793e0ef1 added d |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
30 | () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
31 o 3:ca1b80f7960a added c |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
32 | () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
33 o 2:b1661037fa25 added b |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
34 | () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
35 o 1:c7586e2a9264 added a |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
36 | () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
37 o 0:8fa14d15e168 added hgignore |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
38 () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
39 |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
40 $ cd .. |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
41 $ hg init stack2 |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
42 $ cd stack2 |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
43 $ hg pull ../stacktest |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
44 pulling from ../stacktest |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
45 requesting all changes |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
46 adding changesets |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
47 adding manifests |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
48 adding file changes |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
49 added 5 changesets with 5 changes to 5 files |
4181
ab3581bc0637
branching: preserve the expected output on default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4165
diff
changeset
|
50 new changesets 8fa14d15e168:c41c793e0ef1 (5 drafts) |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
51 (run 'hg update' to get a working copy) |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
52 $ hg glog |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
53 o 4:c41c793e0ef1 added d |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
54 | () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
55 o 3:ca1b80f7960a added c |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
56 | () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
57 o 2:b1661037fa25 added b |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
58 | () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
59 o 1:c7586e2a9264 added a |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
60 | () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
61 o 0:8fa14d15e168 added hgignore |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
62 () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
63 |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
64 $ hg up c7586e2a9264 |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
65 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
66 $ echo bar > a |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
67 $ hg amend -m "watbar to a" |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
68 3 new orphan changesets |
3849
a17d4934c5ce
tests: fix a test case to not create conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3846
diff
changeset
|
69 $ echo wat > a |
a17d4934c5ce
tests: fix a test case to not create conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3846
diff
changeset
|
70 $ hg amend -m "watbar to a" |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
71 $ hg evolve --all |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
72 move:[2] added b |
3849
a17d4934c5ce
tests: fix a test case to not create conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3846
diff
changeset
|
73 atop:[6] watbar to a |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
74 move:[3] added c |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
75 move:[4] added d |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
76 $ hg glog |
4577
bcd52ce0916d
evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents:
4490
diff
changeset
|
77 o 9:15c781f93cac added d |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
78 | () [default] draft |
3849
a17d4934c5ce
tests: fix a test case to not create conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3846
diff
changeset
|
79 o 8:9e5fb1d5b955 added c |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
80 | () [default] draft |
3849
a17d4934c5ce
tests: fix a test case to not create conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3846
diff
changeset
|
81 o 7:88516dccf68a added b |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
82 | () [default] draft |
4577
bcd52ce0916d
evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents:
4490
diff
changeset
|
83 @ 6:82b74d5dc678 watbar to a |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
84 | () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
85 o 0:8fa14d15e168 added hgignore |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
86 () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
87 |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
88 $ cd ../stacktest |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
89 $ hg up .^^^ |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
90 0 files updated, 0 files merged, 3 files removed, 0 files unresolved |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
91 $ echo wat > a |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
92 $ hg amend -m "watbar to a" |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
93 3 new orphan changesets |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
94 $ hg evolve --all |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
95 move:[2] added b |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
96 atop:[5] watbar to a |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
97 move:[3] added c |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
98 move:[4] added d |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
99 $ hg glog |
4577
bcd52ce0916d
evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents:
4490
diff
changeset
|
100 o 8:c72d2885eb51 added d |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
101 | () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
102 o 7:3ce4be6d8e5e added c |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
103 | () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
104 o 6:d5f148423c16 added b |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
105 | () [default] draft |
4577
bcd52ce0916d
evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents:
4490
diff
changeset
|
106 @ 5:8e222f257bbf watbar to a |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
107 | () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
108 o 0:8fa14d15e168 added hgignore |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
109 () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
110 |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
111 $ hg pull ../stack2 |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
112 pulling from ../stack2 |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
113 searching for changes |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
114 adding changesets |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
115 adding manifests |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
116 adding file changes |
3849
a17d4934c5ce
tests: fix a test case to not create conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3846
diff
changeset
|
117 added 4 changesets with 0 changes to 4 files (+1 heads) |
a17d4934c5ce
tests: fix a test case to not create conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3846
diff
changeset
|
118 5 new obsolescence markers |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
119 8 new content-divergent changesets |
4181
ab3581bc0637
branching: preserve the expected output on default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4165
diff
changeset
|
120 new changesets 82b74d5dc678:15c781f93cac (4 drafts) |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
121 (run 'hg heads' to see heads, 'hg merge' to merge) |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
122 |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
123 $ hg glog |
3849
a17d4934c5ce
tests: fix a test case to not create conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3846
diff
changeset
|
124 * 12:15c781f93cac added d |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
125 | () [default] draft |
3849
a17d4934c5ce
tests: fix a test case to not create conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3846
diff
changeset
|
126 * 11:9e5fb1d5b955 added c |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
127 | () [default] draft |
3849
a17d4934c5ce
tests: fix a test case to not create conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3846
diff
changeset
|
128 * 10:88516dccf68a added b |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
129 | () [default] draft |
3849
a17d4934c5ce
tests: fix a test case to not create conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3846
diff
changeset
|
130 * 9:82b74d5dc678 watbar to a |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
131 | () [default] draft |
4577
bcd52ce0916d
evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents:
4490
diff
changeset
|
132 | * 8:c72d2885eb51 added d |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
133 | | () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
134 | * 7:3ce4be6d8e5e added c |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
135 | | () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
136 | * 6:d5f148423c16 added b |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
137 | | () [default] draft |
4577
bcd52ce0916d
evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents:
4490
diff
changeset
|
138 | @ 5:8e222f257bbf watbar to a |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
139 |/ () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
140 o 0:8fa14d15e168 added hgignore |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
141 () [default] draft |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
142 |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
143 $ hg evolve --all --content-divergent |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
144 merge:[5] watbar to a |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
145 with: [9] watbar to a |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
146 base: [1] added a |
3849
a17d4934c5ce
tests: fix a test case to not create conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3846
diff
changeset
|
147 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
3850
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
148 merge:[6] added b |
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
149 with: [10] added b |
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
150 base: [2] added b |
5297
a73cdef2e33f
evolve: rename `evolve_source_*` to `divergence_source_*`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5296
diff
changeset
|
151 rebasing "divergent" content-divergent changeset d5f148423c16 on df93a529fa42 |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
152 rebasing "other" content-divergent changeset 88516dccf68a on df93a529fa42 |
3850
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
153 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
154 merge:[7] added c |
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
155 with: [11] added c |
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
156 base: [3] added c |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
157 rebasing "divergent" content-divergent changeset 3ce4be6d8e5e on aca5a88a1692 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
158 rebasing "other" content-divergent changeset 9e5fb1d5b955 on aca5a88a1692 |
3850
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
159 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
160 merge:[8] added d |
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
161 with: [12] added d |
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
162 base: [4] added d |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
163 rebasing "divergent" content-divergent changeset c72d2885eb51 on 67e04919c9a4 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
164 rebasing "other" content-divergent changeset 15c781f93cac on 67e04919c9a4 |
3850
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
165 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
5297
a73cdef2e33f
evolve: rename `evolve_source_*` to `divergence_source_*`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5296
diff
changeset
|
166 working directory is now at df93a529fa42 |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
167 |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
168 $ hg glog |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
169 o 22:e72164a86fb4 added d |
3850
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
170 | () [default] draft |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
171 o 19:67e04919c9a4 added c |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
172 | () [default] draft |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
173 o 16:aca5a88a1692 added b |
3850
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
174 | () [default] draft |
5297
a73cdef2e33f
evolve: rename `evolve_source_*` to `divergence_source_*`
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5296
diff
changeset
|
175 @ 13:df93a529fa42 watbar to a |
3850
340cf6fbe9e9
evolve: create resolved cset on successors of current parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3849
diff
changeset
|
176 | () [default] draft |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
177 o 0:8fa14d15e168 added hgignore |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
178 () [default] draft |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
179 |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
180 Testing --continue case when relocating "divergent" |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
181 --------------------------------------------------- |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
182 When no relocation is required for "other", but "divergent" |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
183 hit merge conflict in relocation. This test makes sure that |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
184 content of two divergent csets merged correctly after the |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
185 merge conflict. |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
186 |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
187 $ hg log -r "desc('added c')" -p |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
188 changeset: 19:67e04919c9a4 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
189 parent: 16:aca5a88a1692 |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
190 user: test |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
191 date: Thu Jan 01 00:00:00 1970 +0000 |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
192 summary: added c |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
193 |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
194 diff -r aca5a88a1692 -r 67e04919c9a4 c |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
195 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
196 +++ b/c Thu Jan 01 00:00:00 1970 +0000 |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
197 @@ -0,0 +1,1 @@ |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
198 +foo |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
199 |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
200 $ hg strip -r 17: --hidden |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
201 saved backup bundle to $TESTTMP/stacktest/.hg/strip-backup/f1cd8f167491-3817ebd7-backup.hg |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
202 4 new orphan changesets |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
203 4 new content-divergent changesets |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
204 $ hg glog |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
205 o 16:aca5a88a1692 added b |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
206 | () [default] draft |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
207 @ 13:df93a529fa42 watbar to a |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
208 | () [default] draft |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
209 | * 12:15c781f93cac added d |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
210 | | () [default] draft |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
211 | * 11:9e5fb1d5b955 added c |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
212 | | () [default] draft |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
213 | x 10:88516dccf68a added b |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
214 | | () [default] draft |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
215 | x 9:82b74d5dc678 watbar to a |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
216 |/ () [default] draft |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
217 | * 8:c72d2885eb51 added d |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
218 | | () [default] draft |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
219 | * 7:3ce4be6d8e5e added c |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
220 | | () [default] draft |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
221 | x 6:d5f148423c16 added b |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
222 | | () [default] draft |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
223 | x 5:8e222f257bbf watbar to a |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
224 |/ () [default] draft |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
225 o 0:8fa14d15e168 added hgignore |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
226 () [default] draft |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
227 $ hg next |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
228 1 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:
5514
diff
changeset
|
229 [16] added b |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
230 $ echo conflict > c |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
231 $ hg amend -A |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
232 adding c |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
233 |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
234 add some changes on "other" side, to check later that merging performed correctly |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
235 $ hg up -r 11 |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
236 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
237 $ echo new_file > newfile |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
238 $ hg amend -Am "added c and newfile" |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
239 adding newfile |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
240 $ hg glog |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
241 @ 18:2ecfb60af48a added c and newfile |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
242 | () [default] draft |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
243 | o 17:5907cbc074a0 added b |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
244 | | () [default] draft |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
245 | o 13:df93a529fa42 watbar to a |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
246 | | () [default] draft |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
247 | | * 12:15c781f93cac added d |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
248 | | | () [default] draft |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
249 +---x 11:9e5fb1d5b955 added c |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
250 | | () [default] draft |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
251 x | 10:88516dccf68a added b |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
252 | | () [default] draft |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
253 x | 9:82b74d5dc678 watbar to a |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
254 |/ () [default] draft |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
255 | * 8:c72d2885eb51 added d |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
256 | | () [default] draft |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
257 | * 7:3ce4be6d8e5e added c |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
258 | | () [default] draft |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
259 | x 6:d5f148423c16 added b |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
260 | | () [default] draft |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
261 | x 5:8e222f257bbf watbar to a |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
262 |/ () [default] draft |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
263 o 0:8fa14d15e168 added hgignore |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
264 () [default] draft |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
265 |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
266 $ hg evolve --content-divergent -r 7 |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
267 merge:[7] added c |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
268 with: [18] added c and newfile |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
269 base: [3] added c |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
270 rebasing "divergent" content-divergent changeset 3ce4be6d8e5e on 5907cbc074a0 |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
271 merging c |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
272 warning: conflicts while merging c! (edit, then use 'hg resolve --mark') |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
273 unresolved merge conflicts |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
274 (see 'hg help evolve.interrupted') |
5714
b3d9e6c805d6
tests: update with more detailed exit codes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5691
diff
changeset
|
275 [240] |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
276 $ echo c > c |
5964
7204178ac04a
tests: spell out hg resolve
Anton Shestakov <av6@dwimlabs.net>
parents:
5962
diff
changeset
|
277 $ hg resolve -m |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
278 (no more unresolved files) |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
279 continue: hg evolve --continue |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
280 |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
281 $ hg evolve --continue |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
282 evolving 7:3ce4be6d8e5e "added c" |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
283 rebasing "other" content-divergent changeset 2ecfb60af48a on 5907cbc074a0 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
284 merging c |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
285 warning: conflicts while merging c! (edit, then use 'hg resolve --mark') |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
286 unresolved merge conflicts |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
287 (see 'hg help evolve.interrupted') |
5714
b3d9e6c805d6
tests: update with more detailed exit codes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5691
diff
changeset
|
288 [240] |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
289 $ hg diff |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
290 diff -r 5907cbc074a0 c |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
291 --- a/c Thu Jan 01 00:00:00 1970 +0000 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
292 +++ b/c Thu Jan 01 00:00:00 1970 +0000 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
293 @@ -1,1 +1,5 @@ |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
294 +<<<<<<< destination: 5907cbc074a0 - test: added b |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
295 conflict |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
296 +======= |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
297 +foo |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
298 +>>>>>>> evolving: 2ecfb60af48a - test: added c and newfile |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
299 diff -r 5907cbc074a0 newfile |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
300 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
301 +++ b/newfile Thu Jan 01 00:00:00 1970 +0000 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
302 @@ -0,0 +1,1 @@ |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
303 +new_file |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
304 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
305 $ echo c > c |
5964
7204178ac04a
tests: spell out hg resolve
Anton Shestakov <av6@dwimlabs.net>
parents:
5962
diff
changeset
|
306 $ hg resolve -m |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
307 (no more unresolved files) |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
308 continue: hg evolve --continue |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
309 $ hg evolve -c |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
310 evolving 18:2ecfb60af48a "added c and newfile" |
5514
4c3656aaacc6
evolve: make sure we don't miss merging content of divergent changesets
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5513
diff
changeset
|
311 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
5964
diff
changeset
|
312 working directory is now at e7933de77142 |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
313 |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
314 $ hg log -p -l1 |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
5964
diff
changeset
|
315 changeset: 21:e7933de77142 |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
316 tag: tip |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
317 parent: 17:5907cbc074a0 |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
318 user: test |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
319 date: Thu Jan 01 00:00:00 1970 +0000 |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
320 summary: added c and newfile |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
321 |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
5964
diff
changeset
|
322 diff -r 5907cbc074a0 -r e7933de77142 c |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
323 --- a/c Thu Jan 01 00:00:00 1970 +0000 |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
324 +++ b/c Thu Jan 01 00:00:00 1970 +0000 |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
325 @@ -1,1 +1,1 @@ |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
326 -conflict |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
327 +c |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
5964
diff
changeset
|
328 diff -r 5907cbc074a0 -r e7933de77142 newfile |
5514
4c3656aaacc6
evolve: make sure we don't miss merging content of divergent changesets
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5513
diff
changeset
|
329 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
4c3656aaacc6
evolve: make sure we don't miss merging content of divergent changesets
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5513
diff
changeset
|
330 +++ b/newfile Thu Jan 01 00:00:00 1970 +0000 |
4c3656aaacc6
evolve: make sure we don't miss merging content of divergent changesets
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5513
diff
changeset
|
331 @@ -0,0 +1,1 @@ |
4c3656aaacc6
evolve: make sure we don't miss merging content of divergent changesets
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5513
diff
changeset
|
332 +new_file |
5513
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
333 |
a8c21707e9c4
evolve: add test to show broken --continue case of content divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
334 |
4441
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
335 Resolving content-divergence of a stack with different parents |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
336 --------------------------------------------------------- |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
337 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
338 $ cd .. |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
339 $ hg init stackrepo1 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
340 $ cd stackrepo1 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
341 $ echo ".*\.orig" > .hgignore |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
342 $ hg add .hgignore |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
343 $ hg ci -m "added hgignore" |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
344 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
345 $ for ch in a b c d; |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
346 > do echo foo > $ch; |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
347 > hg add $ch; |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
348 > hg ci -qm "added "$ch; |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
349 > done; |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
350 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
351 $ hg glog |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
352 @ 4:c41c793e0ef1 added d |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
353 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
354 o 3:ca1b80f7960a added c |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
355 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
356 o 2:b1661037fa25 added b |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
357 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
358 o 1:c7586e2a9264 added a |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
359 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
360 o 0:8fa14d15e168 added hgignore |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
361 () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
362 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
363 $ cd .. |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
364 $ hg init stackrepo2 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
365 $ cd stackrepo2 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
366 $ hg pull ../stackrepo1 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
367 pulling from ../stackrepo1 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
368 requesting all changes |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
369 adding changesets |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
370 adding manifests |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
371 adding file changes |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
372 added 5 changesets with 5 changes to 5 files |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
373 new changesets 8fa14d15e168:c41c793e0ef1 (5 drafts) |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
374 (run 'hg update' to get a working copy) |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
375 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
376 $ hg glog |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
377 o 4:c41c793e0ef1 added d |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
378 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
379 o 3:ca1b80f7960a added c |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
380 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
381 o 2:b1661037fa25 added b |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
382 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
383 o 1:c7586e2a9264 added a |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
384 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
385 o 0:8fa14d15e168 added hgignore |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
386 () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
387 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
388 $ hg up 8fa14d15e168 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
389 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
390 $ echo newfile > newfile |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
391 $ hg ci -Am "add newfile" |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
392 adding newfile |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
393 created new head |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
394 $ hg rebase -s c7586e2a9264 -d . |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
395 rebasing 1:c7586e2a9264 "added a" |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
396 rebasing 2:b1661037fa25 "added b" |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
397 rebasing 3:ca1b80f7960a "added c" |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
398 rebasing 4:c41c793e0ef1 "added d" |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
399 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
400 $ hg glog |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
401 o 9:d45f050514c2 added d |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
402 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
403 o 8:8ed612937375 added c |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
404 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
405 o 7:6eb54b5af3fb added b |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
406 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
407 o 6:c04ff147ef79 added a |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
408 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
409 @ 5:2228e3b74514 add newfile |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
410 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
411 o 0:8fa14d15e168 added hgignore |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
412 () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
413 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
414 $ cd ../stackrepo1 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
415 $ hg up .^^^ |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
416 0 files updated, 0 files merged, 3 files removed, 0 files unresolved |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
417 $ echo wat > a |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
418 $ hg amend -m "watbar to a" |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
419 3 new orphan changesets |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
420 $ hg evolve --all |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
421 move:[2] added b |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
422 atop:[5] watbar to a |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
423 move:[3] added c |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
424 move:[4] added d |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
425 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
426 $ hg glog |
4577
bcd52ce0916d
evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents:
4490
diff
changeset
|
427 o 8:c72d2885eb51 added d |
4441
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
428 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
429 o 7:3ce4be6d8e5e added c |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
430 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
431 o 6:d5f148423c16 added b |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
432 | () [default] draft |
4577
bcd52ce0916d
evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents:
4490
diff
changeset
|
433 @ 5:8e222f257bbf watbar to a |
4441
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
434 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
435 o 0:8fa14d15e168 added hgignore |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
436 () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
437 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
438 $ hg pull ../stackrepo2 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
439 pulling from ../stackrepo2 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
440 searching for changes |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
441 adding changesets |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
442 adding manifests |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
443 adding file changes |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
444 added 5 changesets with 1 changes to 5 files (+1 heads) |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
445 4 new obsolescence markers |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
446 8 new content-divergent changesets |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
447 new changesets 2228e3b74514:d45f050514c2 (5 drafts) |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
448 (run 'hg heads' to see heads, 'hg merge' to merge) |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
449 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
450 $ hg glog |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
451 * 13:d45f050514c2 added d |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
452 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
453 * 12:8ed612937375 added c |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
454 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
455 * 11:6eb54b5af3fb added b |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
456 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
457 * 10:c04ff147ef79 added a |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
458 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
459 o 9:2228e3b74514 add newfile |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
460 | () [default] draft |
4577
bcd52ce0916d
evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents:
4490
diff
changeset
|
461 | * 8:c72d2885eb51 added d |
4441
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
462 | | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
463 | * 7:3ce4be6d8e5e added c |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
464 | | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
465 | * 6:d5f148423c16 added b |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
466 | | () [default] draft |
4577
bcd52ce0916d
evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents:
4490
diff
changeset
|
467 | @ 5:8e222f257bbf watbar to a |
4441
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
468 |/ () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
469 o 0:8fa14d15e168 added hgignore |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
470 () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
471 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
472 $ hg evolve --all --content-divergent |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
473 merge:[5] watbar to a |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
474 with: [10] added a |
4441
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
475 base: [1] added a |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
476 rebasing "divergent" content-divergent changeset 8e222f257bbf on 2228e3b74514 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
477 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
478 merge:[6] added b |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
479 with: [11] added b |
4441
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
480 base: [2] added b |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
481 rebasing "divergent" content-divergent changeset d5f148423c16 on 4c0b67f978c2 |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
482 rebasing "other" content-divergent changeset 6eb54b5af3fb on 4c0b67f978c2 |
4442
819bad275701
evolve: add logic to handle a particular case in divergence resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4441
diff
changeset
|
483 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:
5514
diff
changeset
|
484 merge:[7] added c |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
485 with: [12] added c |
4441
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
486 base: [3] added c |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
487 rebasing "divergent" content-divergent changeset 3ce4be6d8e5e on c2c8d7bb6505 |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
488 rebasing "other" content-divergent changeset 8ed612937375 on c2c8d7bb6505 |
4442
819bad275701
evolve: add logic to handle a particular case in divergence resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4441
diff
changeset
|
489 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:
5514
diff
changeset
|
490 merge:[8] added d |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
491 with: [13] added d |
4441
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
492 base: [4] added d |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
493 rebasing "divergent" content-divergent changeset c72d2885eb51 on 2d29aa40ef18 |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
494 rebasing "other" content-divergent changeset d45f050514c2 on 2d29aa40ef18 |
4442
819bad275701
evolve: add logic to handle a particular case in divergence resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4441
diff
changeset
|
495 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
496 working directory is now at 4c0b67f978c2 |
4441
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
497 |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
498 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
499 o 24:4a605b2a329e added d |
4441
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
500 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
501 o 21:2d29aa40ef18 added c |
4441
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
502 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
503 o 18:c2c8d7bb6505 added b |
4441
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
504 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
505 @ 15:4c0b67f978c2 watbar to a |
4441
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
506 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
507 o 9:2228e3b74514 add newfile |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
508 | () [default] draft |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
509 o 0:8fa14d15e168 added hgignore |
f606eab8dff8
evolve: add a test reflecting wrong behaviour of content-div resolution
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4428
diff
changeset
|
510 () [default] draft |
5015
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
511 |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
512 when "divergent" and "other" both hit merge conflict in relocating |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
513 ------------------------------------------------------------------ |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
514 |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
515 $ hg strip 14: --hidden |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
516 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
517 saved backup bundle to $TESTTMP/stackrepo1/.hg/strip-backup/b0d57620c872-9e140417-backup.hg |
5015
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
518 8 new content-divergent changesets |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
519 |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
520 Prepare repo to have merge conflicts |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
521 $ hg up -r "max(desc('added a'))" |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
522 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
523 $ hg evolve -r . --content-divergent |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
524 merge:[5] watbar to a |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
525 with: [10] added a |
5015
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
526 base: [1] added a |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
527 rebasing "divergent" content-divergent changeset 8e222f257bbf on 2228e3b74514 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
528 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
5015
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
529 6 new orphan changesets |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
530 working directory is now at 4c0b67f978c2 |
5015
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
531 $ echo b_conflict > b |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
532 $ hg amend -A |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
533 adding b |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
534 |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
535 Let's try to evolve stack |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
536 $ hg evolve --content-divergent |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
537 merge:[6] added b |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
538 with: [11] added b |
5015
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
539 base: [2] added b |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
540 rebasing "divergent" content-divergent changeset d5f148423c16 on 6b129ddb2c87 |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
541 merging b |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
542 warning: conflicts while merging b! (edit, then use 'hg resolve --mark') |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
543 unresolved merge conflicts |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
544 (see 'hg help evolve.interrupted') |
5714
b3d9e6c805d6
tests: update with more detailed exit codes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5691
diff
changeset
|
545 [240] |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
546 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
547 $ echo b > b |
5964
7204178ac04a
tests: spell out hg resolve
Anton Shestakov <av6@dwimlabs.net>
parents:
5962
diff
changeset
|
548 $ hg resolve -m |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
549 (no more unresolved files) |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
550 continue: hg evolve --continue |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
551 $ hg evolve --continue |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
552 evolving 6:d5f148423c16 "added b" |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
553 rebasing "other" content-divergent changeset 6eb54b5af3fb on 6b129ddb2c87 |
5015
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
554 merging b |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
555 warning: conflicts while merging b! (edit, then use 'hg resolve --mark') |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
556 unresolved merge conflicts |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
557 (see 'hg help evolve.interrupted') |
5714
b3d9e6c805d6
tests: update with more detailed exit codes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5691
diff
changeset
|
558 [240] |
5015
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
559 |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
560 $ echo b > b |
5964
7204178ac04a
tests: spell out hg resolve
Anton Shestakov <av6@dwimlabs.net>
parents:
5962
diff
changeset
|
561 $ hg resolve -m |
5015
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
562 (no more unresolved files) |
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
563 continue: hg evolve --continue |
5016
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
564 $ hg evolve --continue |
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
565 evolving 11:6eb54b5af3fb "added b" |
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
566 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:
5514
diff
changeset
|
567 merge:[7] added c |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
568 with: [12] added c |
5016
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
569 base: [3] added c |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
570 rebasing "divergent" content-divergent changeset 3ce4be6d8e5e on e55b9e217879 |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
571 rebasing "other" content-divergent changeset 8ed612937375 on e55b9e217879 |
5016
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
572 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:
5514
diff
changeset
|
573 merge:[8] added d |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
574 with: [13] added d |
5016
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
575 base: [4] added d |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
576 rebasing "divergent" content-divergent changeset c72d2885eb51 on 0e1902cb9cef |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
577 rebasing "other" content-divergent changeset d45f050514c2 on 0e1902cb9cef |
5016
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
578 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
579 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
580 o 25:375c5a89ec21 added d |
5016
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
581 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
582 o 22:0e1902cb9cef added c |
5016
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
583 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
584 o 19:e55b9e217879 added b |
5016
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
585 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
586 @ 16:6b129ddb2c87 watbar to a |
5016
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
587 | () [default] draft |
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
588 o 9:2228e3b74514 add newfile |
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
589 | () [default] draft |
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
590 o 0:8fa14d15e168 added hgignore |
64868b7dc112
evolve: add logic to cover --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5015
diff
changeset
|
591 () [default] draft |
5015
43f4784a3f21
evolve: add test for `--continue` case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4993
diff
changeset
|
592 |
5018
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
593 when relocating "other" hit merge conflict but not "divergent" |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
594 -------------------------------------------------------------- |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
595 $ hg strip 14: --hidden |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
596 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
597 saved backup bundle to $TESTTMP/stackrepo1/.hg/strip-backup/b0d57620c872-25c1f036-backup.hg |
5018
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
598 8 new content-divergent changesets |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
599 |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
600 Insert conflicting changes in between the stack of content-div csets |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
601 $ hg up -r "max(desc('added b'))" |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
602 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
603 $ echo b_diverging_local > b |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
604 $ hg amend |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
605 2 new orphan changesets |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
606 $ hg evolve |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
607 move:[12] added c |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
608 atop:[14] added b |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
609 move:[13] added d |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
610 $ hg up -r d5f148423c16 |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
611 2 files updated, 0 files merged, 1 files removed, 0 files unresolved |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
612 $ echo b_diverging_other > b |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
613 $ hg amend |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
614 2 new orphan changesets |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
615 $ hg evolve |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
616 move:[7] added c |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
617 atop:[17] added b |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
618 move:[8] added d |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
619 |
5027
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
620 $ hg log -r tip |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
621 changeset: 19:c351be27f199 |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
622 tag: tip |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
623 user: test |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
624 date: Thu Jan 01 00:00:00 1970 +0000 |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
625 instability: content-divergent |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
626 summary: added d |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
627 |
5018
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
628 Now let's try to evolve stack |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
629 $ hg evolve --content-divergent |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
630 merge:[5] watbar to a |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
631 with: [10] added a |
5018
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
632 base: [1] added a |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
633 rebasing "divergent" content-divergent changeset 8e222f257bbf on 2228e3b74514 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
634 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
5018
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
635 merge:[14] added b |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
636 with: [17] added b |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
637 base: [2] added b |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
638 rebasing "divergent" content-divergent changeset 2a955e808c53 on 4c0b67f978c2 |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
639 rebasing "other" content-divergent changeset 509103439e5e on 4c0b67f978c2 |
5018
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
640 merging b |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
641 warning: conflicts while merging b! (edit, then use 'hg resolve --mark') |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
642 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
643 4 new orphan changesets |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
644 unresolved merge conflicts |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
645 (see 'hg help evolve.interrupted') |
5714
b3d9e6c805d6
tests: update with more detailed exit codes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5691
diff
changeset
|
646 [240] |
5018
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
647 |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
648 As now we have interrupted evolution of stack of content-divergent cset (when |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
649 relocation of "divergent" also included) let's test --abort and --stop |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
650 test --abort: |
5027
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
651 $ hg evolve --abort |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
652 2 new content-divergent changesets |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
653 evolve aborted |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
654 working directory is now at 509103439e5e |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
655 |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
656 confirm that tip is same as it was before we started --content-div resolution |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
657 $ hg log -r tip |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
658 changeset: 19:c351be27f199 |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
659 tag: tip |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
660 user: test |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
661 date: Thu Jan 01 00:00:00 1970 +0000 |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
662 instability: content-divergent |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
663 summary: added d |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
664 |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
665 test --stop: |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
666 $ hg log -G |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
667 * changeset: 19:c351be27f199 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
668 | tag: tip |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
669 | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
670 | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
671 | instability: content-divergent |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
672 | summary: added d |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
673 | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
674 * changeset: 18:eaf34afe4df3 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
675 | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
676 | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
677 | instability: content-divergent |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
678 | summary: added c |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
679 | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
680 @ changeset: 17:509103439e5e |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
681 | parent: 5:8e222f257bbf |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
682 | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
683 | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
684 | instability: content-divergent |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
685 | summary: added b |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
686 | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
687 | * changeset: 16:91c8ccb9c241 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
688 | | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
689 | | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
690 | | instability: content-divergent |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
691 | | summary: added d |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
692 | | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
693 | * changeset: 15:48b0f803817a |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
694 | | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
695 | | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
696 | | instability: content-divergent |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
697 | | summary: added c |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
698 | | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
699 | * changeset: 14:2a955e808c53 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
700 | | parent: 10:c04ff147ef79 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
701 | | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
702 | | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
703 | | instability: content-divergent |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
704 | | summary: added b |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
705 | | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
706 | * changeset: 10:c04ff147ef79 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
707 | | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
708 | | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
709 | | instability: content-divergent |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
710 | | summary: added a |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
711 | | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
712 | o changeset: 9:2228e3b74514 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
713 | | parent: 0:8fa14d15e168 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
714 | | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
715 | | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
716 | | summary: add newfile |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
717 | | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
718 * | changeset: 5:8e222f257bbf |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
719 |/ parent: 0:8fa14d15e168 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
720 | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
721 | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
722 | instability: content-divergent |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
723 | summary: watbar to a |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
724 | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
725 o changeset: 0:8fa14d15e168 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
726 user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
727 date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
728 summary: added hgignore |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
729 |
5027
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
730 $ hg evolve --content-divergent |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
731 merge:[5] watbar to a |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
732 with: [10] added a |
5027
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
733 base: [1] added a |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
734 rebasing "divergent" content-divergent changeset 8e222f257bbf on 2228e3b74514 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
735 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
5027
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
736 merge:[14] added b |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
737 with: [17] added b |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
738 base: [2] added b |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
739 rebasing "divergent" content-divergent changeset 2a955e808c53 on 4c0b67f978c2 |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
740 rebasing "other" content-divergent changeset 509103439e5e on 4c0b67f978c2 |
5027
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
741 merging b |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
742 warning: conflicts while merging b! (edit, then use 'hg resolve --mark') |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
743 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
744 4 new orphan changesets |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
745 unresolved merge conflicts |
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
746 (see 'hg help evolve.interrupted') |
5714
b3d9e6c805d6
tests: update with more detailed exit codes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5691
diff
changeset
|
747 [240] |
5027
08be8a4d5196
evolve: add test to show that --abort is working fine
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5018
diff
changeset
|
748 |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
749 $ hg evolve --stop |
5029
421b295e32b4
evolve: add logic to cover --stop when "divergent" relocation in play
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5028
diff
changeset
|
750 2 new orphan changesets |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
751 stopped the interrupted evolve |
5811
4688b7eb7e40
evolve: preserve wdir when using --stop
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5722
diff
changeset
|
752 working directory is now at 509103439e5e |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
753 $ hg log -G |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
754 o changeset: 21:4c0b67f978c2 |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
755 | tag: tip |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
756 | parent: 9:2228e3b74514 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
757 | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
758 | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
759 | summary: watbar to a |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
760 | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
761 | * changeset: 19:c351be27f199 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
762 | | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
763 | | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
764 | | instability: orphan, content-divergent |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
765 | | summary: added d |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
766 | | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
767 | * changeset: 18:eaf34afe4df3 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
768 | | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
769 | | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
770 | | instability: orphan, content-divergent |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
771 | | summary: added c |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
772 | | |
5811
4688b7eb7e40
evolve: preserve wdir when using --stop
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5722
diff
changeset
|
773 | @ changeset: 17:509103439e5e |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
774 | | parent: 5:8e222f257bbf |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
775 | | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
776 | | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
777 | | instability: orphan, content-divergent |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
778 | | summary: added b |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
779 | | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
780 | | * changeset: 16:91c8ccb9c241 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
781 | | | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
782 | | | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
783 | | | instability: orphan, content-divergent |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
784 | | | summary: added d |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
785 | | | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
786 | | * changeset: 15:48b0f803817a |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
787 | | | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
788 | | | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
789 | | | instability: orphan, content-divergent |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
790 | | | summary: added c |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
791 | | | |
5811
4688b7eb7e40
evolve: preserve wdir when using --stop
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5722
diff
changeset
|
792 | | * changeset: 14:2a955e808c53 |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
793 | | | parent: 10:c04ff147ef79 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
794 | | | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
795 | | | date: Thu Jan 01 00:00:00 1970 +0000 |
5029
421b295e32b4
evolve: add logic to cover --stop when "divergent" relocation in play
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5028
diff
changeset
|
796 | | | instability: orphan, content-divergent |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
797 | | | summary: added b |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
798 | | | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
799 +---x changeset: 10:c04ff147ef79 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
800 | | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
801 | | date: Thu Jan 01 00:00:00 1970 +0000 |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
802 | | obsolete: rewritten using evolve as 21:4c0b67f978c2 |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
803 | | summary: added a |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
804 | | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
805 o | changeset: 9:2228e3b74514 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
806 | | parent: 0:8fa14d15e168 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
807 | | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
808 | | date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
809 | | summary: add newfile |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
810 | | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
811 | x changeset: 5:8e222f257bbf |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
812 |/ parent: 0:8fa14d15e168 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
813 | user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
814 | date: Thu Jan 01 00:00:00 1970 +0000 |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
815 | obsolete: rebased using evolve as 21:4c0b67f978c2 |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
816 | summary: watbar to a |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
817 | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
818 o changeset: 0:8fa14d15e168 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
819 user: test |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
820 date: Thu Jan 01 00:00:00 1970 +0000 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
821 summary: added hgignore |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
822 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
823 $ hg obslog -r 'desc("watbar to a")' --all |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
824 o 4c0b67f978c2 (21) watbar to a |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
825 |\ rewritten from b0d57620c872 using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
826 | | rewritten(description, content) from c04ff147ef79 using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
827 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
828 x | b0d57620c872 (20) watbar to a |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
829 | | rebased(parent) from 8e222f257bbf using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
830 | | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
831 | x c04ff147ef79 (10) added a |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
832 | | rebased(parent) from c7586e2a9264 using rebase by test (Thu Jan 01 00:00:00 1970 +0000) |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
833 | | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
834 x | 8e222f257bbf (5) watbar to a |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
835 |/ rewritten(description, content) from c7586e2a9264 using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
836 | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
837 x c7586e2a9264 (1) added a |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
838 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
839 $ hg obslog -r 'desc("added b")' --all |
5811
4688b7eb7e40
evolve: preserve wdir when using --stop
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5722
diff
changeset
|
840 * 2a955e808c53 (14) added b |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
841 | amended(content) from 6eb54b5af3fb using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
842 | |
5811
4688b7eb7e40
evolve: preserve wdir when using --stop
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5722
diff
changeset
|
843 | @ 509103439e5e (17) added b |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
844 | | amended(content) from d5f148423c16 using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
845 | | |
5029
421b295e32b4
evolve: add logic to cover --stop when "divergent" relocation in play
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5028
diff
changeset
|
846 x | 6eb54b5af3fb (11) added b |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
847 | | rebased(parent) from b1661037fa25 using rebase by test (Thu Jan 01 00:00:00 1970 +0000) |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
848 | | |
5029
421b295e32b4
evolve: add logic to cover --stop when "divergent" relocation in play
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5028
diff
changeset
|
849 | x d5f148423c16 (6) added b |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
850 |/ rebased(parent) from b1661037fa25 using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
851 | |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
852 x b1661037fa25 (2) added b |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
853 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
854 |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
855 Again, let's evolve the stack |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
856 $ hg evolve --content-divergent |
5029
421b295e32b4
evolve: add logic to cover --stop when "divergent" relocation in play
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5028
diff
changeset
|
857 merge:[14] added b |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
858 with: [17] added b |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
859 base: [2] added b |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
860 rebasing "divergent" content-divergent changeset 2a955e808c53 on 4c0b67f978c2 |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
861 rebasing "other" content-divergent changeset 509103439e5e on 4c0b67f978c2 |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
862 merging b |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
863 warning: conflicts while merging b! (edit, then use 'hg resolve --mark') |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
864 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
865 unresolved merge conflicts |
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
866 (see 'hg help evolve.interrupted') |
5714
b3d9e6c805d6
tests: update with more detailed exit codes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5691
diff
changeset
|
867 [240] |
5028
109889c7d02d
evolve: test to show that --stop is not working when "divergent" relocated
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5027
diff
changeset
|
868 |
5018
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
869 $ echo foo > b |
5964
7204178ac04a
tests: spell out hg resolve
Anton Shestakov <av6@dwimlabs.net>
parents:
5962
diff
changeset
|
870 $ hg resolve -m |
5018
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
871 (no more unresolved files) |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
872 continue: hg evolve --continue |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
873 $ hg evolve --continue |
5029
421b295e32b4
evolve: add logic to cover --stop when "divergent" relocation in play
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5028
diff
changeset
|
874 merge:[15] added c |
421b295e32b4
evolve: add logic to cover --stop when "divergent" relocation in play
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5028
diff
changeset
|
875 with: [18] added c |
421b295e32b4
evolve: add logic to cover --stop when "divergent" relocation in play
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5028
diff
changeset
|
876 base: [3] added c |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
877 rebasing "divergent" content-divergent changeset 48b0f803817a on 59338f08e6ef |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
878 rebasing "other" content-divergent changeset eaf34afe4df3 on 59338f08e6ef |
5029
421b295e32b4
evolve: add logic to cover --stop when "divergent" relocation in play
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5028
diff
changeset
|
879 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
421b295e32b4
evolve: add logic to cover --stop when "divergent" relocation in play
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5028
diff
changeset
|
880 merge:[16] added d |
421b295e32b4
evolve: add logic to cover --stop when "divergent" relocation in play
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5028
diff
changeset
|
881 with: [19] added d |
421b295e32b4
evolve: add logic to cover --stop when "divergent" relocation in play
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5028
diff
changeset
|
882 base: [4] added d |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
883 rebasing "divergent" content-divergent changeset 91c8ccb9c241 on ef321c27d145 |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
884 rebasing "other" content-divergent changeset c351be27f199 on ef321c27d145 |
5029
421b295e32b4
evolve: add logic to cover --stop when "divergent" relocation in play
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5028
diff
changeset
|
885 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
886 working directory is now at 59338f08e6ef |
5018
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
887 |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
888 $ hg evolve -l |
f1e90ce1d372
evolve: add more tests for --continue case when relocating "divergent"
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5016
diff
changeset
|
889 |
4419
1fdecdfd0df9
evolve: add test which shows unrecoverable evolve state (issue6053)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4181
diff
changeset
|
890 $ cd .. |
4990
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
891 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
892 Make sure that content-divergent resolution doesn't undo a change (issue6203) |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
893 ----------------------------------------------------------------------------- |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
894 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
895 $ hg init issue6203 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
896 $ cd issue6203 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
897 $ echo a > a; hg add a; hg ci -m a |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
898 $ echo 'b with typo' > b; hg add b; hg ci -m b |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
899 $ echo c > c; hg add c; hg ci -m c |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
900 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
901 $ hg prev |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
902 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
903 [1] b |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
904 $ echo 'b without typo' > b |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
905 $ hg amend |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
906 1 new orphan changesets |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
907 $ hg evolve |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
908 move:[2] c |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
909 atop:[3] b |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
910 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
911 $ hg up 0 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
912 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
913 $ echo d > d; hg add d; hg ci -m d |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
914 created new head |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
915 $ hg rebase --hidden --config experimental.evolution.allowdivergence=True -s 1 -d 5 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
916 rebasing 1:d420a663b65e "b" |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
917 rebasing 2:49f182e7a6cc "c" |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
918 4 new content-divergent changesets |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
919 $ hg log -G -v --patch |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
920 * changeset: 7:ef4885dea3da |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
921 | tag: tip |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
922 | user: test |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
923 | date: Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
924 | instability: content-divergent |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
925 | files: c |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
926 | description: |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
927 | c |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
928 | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
929 | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
930 | diff -r fe788ccf5416 -r ef4885dea3da c |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
931 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
932 | +++ b/c Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
933 | @@ -0,0 +1,1 @@ |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
934 | +c |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
935 | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
936 * changeset: 6:fe788ccf5416 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
937 | user: test |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
938 | date: Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
939 | instability: content-divergent |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
940 | files: b |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
941 | description: |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
942 | b |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
943 | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
944 | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
945 | diff -r 980f7dc84c29 -r fe788ccf5416 b |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
946 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
947 | +++ b/b Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
948 | @@ -0,0 +1,1 @@ |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
949 | +b with typo |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
950 | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
951 @ changeset: 5:980f7dc84c29 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
952 | parent: 0:cb9a9f314b8b |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
953 | user: test |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
954 | date: Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
955 | files: d |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
956 | description: |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
957 | d |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
958 | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
959 | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
960 | diff -r cb9a9f314b8b -r 980f7dc84c29 d |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
961 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
962 | +++ b/d Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
963 | @@ -0,0 +1,1 @@ |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
964 | +d |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
965 | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
966 | * changeset: 4:fef59171875e |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
967 | | user: test |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
968 | | date: Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
969 | | instability: content-divergent |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
970 | | files: c |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
971 | | description: |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
972 | | c |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
973 | | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
974 | | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
975 | | diff -r 5b2d00df9c4e -r fef59171875e c |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
976 | | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
977 | | +++ b/c Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
978 | | @@ -0,0 +1,1 @@ |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
979 | | +c |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
980 | | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
981 | * changeset: 3:5b2d00df9c4e |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
982 |/ parent: 0:cb9a9f314b8b |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
983 | user: test |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
984 | date: Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
985 | instability: content-divergent |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
986 | files: b |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
987 | description: |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
988 | b |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
989 | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
990 | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
991 | diff -r cb9a9f314b8b -r 5b2d00df9c4e b |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
992 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
993 | +++ b/b Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
994 | @@ -0,0 +1,1 @@ |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
995 | +b without typo |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
996 | |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
997 o changeset: 0:cb9a9f314b8b |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
998 user: test |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
999 date: Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1000 files: a |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1001 description: |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1002 a |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1003 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1004 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1005 diff -r 000000000000 -r cb9a9f314b8b a |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1006 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1007 +++ b/a Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1008 @@ -0,0 +1,1 @@ |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1009 +a |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1010 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1011 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1012 $ hg evolve --content-divergent |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
1013 merge:[3] b |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
1014 with: [6] b |
4990
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1015 base: [1] b |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
1016 rebasing "divergent" content-divergent changeset 5b2d00df9c4e on 980f7dc84c29 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
1017 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
1018 merge:[4] c |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
1019 with: [7] c |
4990
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1020 base: [2] c |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
1021 rebasing "divergent" content-divergent changeset fef59171875e on 24bad874a3c7 |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
1022 rebasing "other" content-divergent changeset ef4885dea3da on 24bad874a3c7 |
4990
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1023 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1024 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1025 Expected result: |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1026 Changeset with description "b" only adds file "b" with content "b without typo". |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1027 Changeset with description "c" only adds file "c" with content "c". |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1028 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1029 $ hg glog -l2 -p |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
1030 o 12:8a66432f9036 c |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
1031 | () [default] draftdiff -r 24bad874a3c7 -r 8a66432f9036 c |
4990
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1032 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1033 | +++ b/c Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1034 | @@ -0,0 +1,1 @@ |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1035 | +c |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1036 | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
1037 o 9:24bad874a3c7 b |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
1038 | () [default] draftdiff -r 980f7dc84c29 -r 24bad874a3c7 b |
4990
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1039 ~ --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1040 +++ b/b Thu Jan 01 00:00:00 1970 +0000 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1041 @@ -0,0 +1,1 @@ |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1042 +b without typo |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1043 |
f3fd3c1c3da0
evolve: add test to demonstrate issue6203
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4633
diff
changeset
|
1044 $ cd .. |
4993
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1045 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1046 Testing case when resolution parent is ambiguous (MultipleSuccessorsError) |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1047 -------------------------------------------------------------------------- |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1048 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1049 $ hg init multiplesuccs1 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1050 $ cd multiplesuccs1 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1051 $ echo base > base |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1052 $ hg ci -Aqm "added base" |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1053 $ echo foo > foo |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1054 $ hg ci -Aqm "added foo" |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1055 $ echo bar > bar; echo car > car |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1056 $ hg ci -Aqm "added bar and car" |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1057 $ echo dar > dar |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1058 $ hg ci -Aqm "added dar" |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1059 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1060 $ cd .. |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1061 $ hg clone multiplesuccs1 multiplesuccs2 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1062 updating to branch default |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1063 5 files updated, 0 files merged, 0 files removed, 0 files unresolved |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1064 $ cd multiplesuccs2 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1065 $ hg up -r "desc('added foo')" |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1066 0 files updated, 0 files merged, 3 files removed, 0 files unresolved |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1067 $ echo newfoo > foo |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1068 $ hg amend |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1069 2 new orphan changesets |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1070 $ hg evolve |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1071 move:[2] added bar and car |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1072 atop:[4] added foo |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1073 move:[3] added dar |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1074 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1075 $ cd ../multiplesuccs1 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1076 $ hg up -r "desc('added base')" |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1077 0 files updated, 0 files merged, 4 files removed, 0 files unresolved |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1078 $ echo tuna > tuna |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1079 $ hg ci -Aqm "added tuna" |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1080 $ hg rebase -s "desc('added foo')" -d . |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1081 rebasing 1:8da7bbaea4f7 "added foo" |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1082 rebasing 2:7f4b97b13607 "added bar and car" |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1083 rebasing 3:9f12b2fcb3de "added dar" |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1084 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1085 $ cd ../multiplesuccs2 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1086 $ hg pull |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1087 pulling from $TESTTMP/multiplesuccs1 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1088 searching for changes |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1089 adding changesets |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1090 adding manifests |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1091 adding file changes |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1092 added 4 changesets with 1 changes to 5 files (+1 heads) |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1093 3 new obsolescence markers |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1094 6 new content-divergent changesets |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1095 new changesets 9703820a7d5b:9a1f460df8b5 (4 drafts) |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1096 (run 'hg heads' to see heads, 'hg merge' to merge) |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1097 $ hg glog |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1098 * 10:9a1f460df8b5 added dar |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1099 | () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1100 * 9:7dd5b9d42ef3 added bar and car |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1101 | () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1102 * 8:afd8b2ea1b77 added foo |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1103 | () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1104 o 7:9703820a7d5b added tuna |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1105 | () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1106 | * 6:57a3f8edf065 added dar |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1107 | | () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1108 | * 5:f4ed107810a7 added bar and car |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1109 | | () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1110 | @ 4:8a2d93492f59 added foo |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1111 |/ () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1112 o 0:bde1d2b6b5e5 added base |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1113 () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1114 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1115 $ hg evolve -r 4+5 --content-divergent |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
1116 merge:[4] added foo |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
1117 with: [8] added foo |
4993
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1118 base: [1] added foo |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
1119 rebasing "divergent" content-divergent changeset 8a2d93492f59 on 9703820a7d5b |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
1120 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
1121 merge:[5] added bar and car |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5514
diff
changeset
|
1122 with: [9] added bar and car |
4993
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1123 base: [2] added bar and car |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
1124 rebasing "divergent" content-divergent changeset f4ed107810a7 on eb084588f69b |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
1125 rebasing "other" content-divergent changeset 7dd5b9d42ef3 on eb084588f69b |
4993
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1126 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1127 2 new orphan changesets |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
1128 working directory is now at eb084588f69b |
4993
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1129 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1130 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
1131 o 15:33947326df25 added bar and car |
4993
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1132 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
1133 @ 12:eb084588f69b added foo |
4993
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1134 | () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1135 | * 10:9a1f460df8b5 added dar |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1136 | | () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1137 | x 9:7dd5b9d42ef3 added bar and car |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1138 | | () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1139 | x 8:afd8b2ea1b77 added foo |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1140 |/ () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1141 o 7:9703820a7d5b added tuna |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1142 | () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1143 | * 6:57a3f8edf065 added dar |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1144 | | () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1145 | x 5:f4ed107810a7 added bar and car |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1146 | | () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1147 | x 4:8a2d93492f59 added foo |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1148 |/ () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1149 o 0:bde1d2b6b5e5 added base |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1150 () [default] draft |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1151 |
5962
b68789e8c535
tests: spell out hg commands for readability
Anton Shestakov <av6@dwimlabs.net>
parents:
5811
diff
changeset
|
1152 $ hg rebase -r 10 -d 7 |
5579
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1153 rebasing 10:9a1f460df8b5 "added dar" |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1154 $ hg up 0 -q |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1155 $ echo alpha > alpha |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1156 $ hg ci -Am "added alpha" |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1157 adding alpha |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1158 created new head |
5962
b68789e8c535
tests: spell out hg commands for readability
Anton Shestakov <av6@dwimlabs.net>
parents:
5811
diff
changeset
|
1159 $ hg rebase -r 6 -d 'desc("added alpha")' |
5579
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1160 rebasing 6:57a3f8edf065 "added dar" |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1161 $ hg evolve --content-divergent |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1162 skipping 8b68d5104188: have a different parent than cf9a46e19942 (not handled yet) |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1163 | 8b68d5104188, cf9a46e19942 are not based on the same changeset. |
5580
cc0f46025c7f
evolve: remove trailing white spaces
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5579
diff
changeset
|
1164 | With the current state of its implementation, |
5579
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1165 | evolve does not work in that case. |
5580
cc0f46025c7f
evolve: remove trailing white spaces
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5579
diff
changeset
|
1166 | rebase one of them next to the other and run |
5579
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1167 | this command again. |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1168 | - either: hg rebase --dest 'p1(8b68d5104188)' -r cf9a46e19942 |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1169 | - or: hg rebase --dest 'p1(cf9a46e19942)' -r 8b68d5104188 |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1170 |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1171 $ hg strip -r 16: |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1172 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1173 saved backup bundle to $TESTTMP/multiplesuccs2/.hg/strip-backup/8b68d5104188-e72c2390-backup.hg |
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1174 2 new orphan changesets |
4993
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1175 $ echo bar > bar; hg ci -Aqm "added bar" |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1176 $ echo car > car; hg ci -Aqm "added car" |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1177 $ hg prune --split -s 16+17 -r 15 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1178 1 changesets pruned |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1179 |
e0b5ce458af5
evolve: add tests for the case when resolution parent is ambiguous
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4991
diff
changeset
|
1180 $ hg evolve --content-divergent |
5579
6289ddfb9d48
evolve: refactor some error raising logic in content-divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5572
diff
changeset
|
1181 skipping 57a3f8edf065: ambiguous orphan resolution parent for 57a3f8edf065 |