Mercurial > evolve
annotate tests/test-evolve-phase-divergence.t @ 3623:71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
When there is a parent change in phase-divergence, `hg evolve` first rebases the
diveregent changeset on parent of public changeset and then continue the
resolution of phase-divergence *but* we used to continue with the old divergent
changeset rather than the new rebased one.
This patch makes sure we use the new rebased changeset to proceed with the
resolution. Tests changes shows that it fixes things which were broken earlier.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 23 Mar 2018 17:46:46 +0530 |
parents | db3ec5f79ab9 |
children | 6756f2a85f5b |
rev | line source |
---|---|
3610
145dab8c60c9
tests: rename test-evolve-bumped to test-evolve-phase-divergence.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3155
diff
changeset
|
1 ** Test for handling of phase divergent changesets by `hg evolve` ** |
145dab8c60c9
tests: rename test-evolve-bumped to test-evolve-phase-divergence.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3155
diff
changeset
|
2 ==================================================================== |
145dab8c60c9
tests: rename test-evolve-bumped to test-evolve-phase-divergence.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3155
diff
changeset
|
3 |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
4 $ cat >> $HGRCPATH <<EOF |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
5 > [alias] |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
6 > glog = log -GT "{rev}:{node|short} {desc}\n ({bookmarks}) {phase}" |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
7 > [extensions] |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
8 > rebase = |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
9 > EOF |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
10 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
11 Setting up a public repo |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
12 ------------------------ |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
13 |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
14 $ hg init public |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
15 $ cd public |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
16 $ echo a > a |
1417
9e7da169f66e
test-evolve-bumped: add new test case for merge
Laurent Charignon <lcharignon@fb.com>
parents:
1416
diff
changeset
|
17 $ mkcommit() { |
9e7da169f66e
test-evolve-bumped: add new test case for merge
Laurent Charignon <lcharignon@fb.com>
parents:
1416
diff
changeset
|
18 > echo "$1" > "$1" |
9e7da169f66e
test-evolve-bumped: add new test case for merge
Laurent Charignon <lcharignon@fb.com>
parents:
1416
diff
changeset
|
19 > hg add "$1" |
9e7da169f66e
test-evolve-bumped: add new test case for merge
Laurent Charignon <lcharignon@fb.com>
parents:
1416
diff
changeset
|
20 > hg ci -m "add $1" |
9e7da169f66e
test-evolve-bumped: add new test case for merge
Laurent Charignon <lcharignon@fb.com>
parents:
1416
diff
changeset
|
21 > } |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
22 $ hg commit -A -m init |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
23 adding a |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
24 $ cd .. |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
25 |
1806
9f42f819267b
evolve: move the extensions to 'hgext3rd'
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents:
1453
diff
changeset
|
26 $ evolvepath=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/ |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
27 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
28 Setting up a private non-publishing repo |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
29 ---------------------------------------- |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
30 |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
31 $ hg clone -U public private |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
32 $ cd private |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
33 $ cat >> .hg/hgrc <<EOF |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
34 > [extensions] |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
35 > evolve = $evolvepath |
1416
b8a9d2e8c772
test-evolve-bumped: improve tests legibility
Laurent Charignon <lcharignon@fb.com>
parents:
1404
diff
changeset
|
36 > [ui] |
b8a9d2e8c772
test-evolve-bumped: improve tests legibility
Laurent Charignon <lcharignon@fb.com>
parents:
1404
diff
changeset
|
37 > logtemplate = {rev}:{node|short}@{branch}({phase}) {desc|firstline}\n |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
38 > [phases] |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
39 > publish = false |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
40 > EOF |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
41 $ cd .. |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
42 |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
43 Setting up couple of more instances of private repo |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
44 --------------------------------------------------- |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
45 |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
46 $ cp -a private alice |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
47 $ cp -a private bob |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
48 |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
49 Creating a phase-divergence changeset |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
50 ------------------------------------- |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
51 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
52 Alice creating a draft changeset and pushing to main private repo |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
53 |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
54 $ cd alice |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
55 $ hg update |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
56 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
57 $ echo a >> a |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
58 $ hg commit -u alice -m 'modify a' |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
59 $ hg push ../private |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
60 pushing to ../private |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
61 searching for changes |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
62 adding changesets |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
63 adding manifests |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
64 adding file changes |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
65 added 1 changesets with 1 changes to 1 files |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
66 $ hg glog |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
67 @ 1:4d1169d82e47 modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
68 | () draft |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
69 o 0:d3873e73d99e init |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
70 () public |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
71 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
72 Bob pulling from private repo and pushing to the main public repo making the |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
73 changeset public |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
74 |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
75 $ cd ../bob |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
76 $ hg pull ../private |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
77 pulling from ../private |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
78 searching for changes |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
79 adding changesets |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
80 adding manifests |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
81 adding file changes |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
82 added 1 changesets with 1 changes to 1 files |
3075
8feb2cae7eae
test: adapt to output change from eb586ed5d8ce
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3013
diff
changeset
|
83 new changesets 4d1169d82e47 |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
84 (run 'hg update' to get a working copy) |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
85 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
86 $ hg glog |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
87 o 1:4d1169d82e47 modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
88 | () draft |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
89 o 0:d3873e73d99e init |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
90 () public |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
91 |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
92 $ hg push ../public |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
93 pushing to ../public |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
94 searching for changes |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
95 adding changesets |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
96 adding manifests |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
97 adding file changes |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
98 added 1 changesets with 1 changes to 1 files |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
99 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
100 $ hg glog |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
101 o 1:4d1169d82e47 modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
102 | () public |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
103 o 0:d3873e73d99e init |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
104 () public |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
105 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
106 *But* Alice decided to amend the changeset she had and then pulling from public |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
107 repo creating phase-divergent changeset locally |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
108 |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
109 $ cd ../alice |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
110 $ hg amend -m 'tweak a' |
3618
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
111 |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
112 XXX: pull should tell us how to see what is the new phase-divergent changeset |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
113 $ hg pull ../public |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
114 pulling from ../public |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
115 searching for changes |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
116 no changes found |
3013
945a0989e41b
packaging: merge stable back into default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3000
diff
changeset
|
117 1 new phase-divergent changesets |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
118 |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
119 $ hg glog |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
120 @ 2:98bb3a6cfe1a tweak a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
121 | () draft |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
122 | o 1:4d1169d82e47 modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
123 |/ () public |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
124 o 0:d3873e73d99e init |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
125 () public |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
126 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
127 Using evolve --list to list phase-divergent changesets |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
128 ------------------------------------------------------ |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
129 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
130 $ hg evolve --list |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
131 98bb3a6cfe1a: tweak a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
132 phase-divergent: 4d1169d82e47 (immutable precursor) |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
133 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
134 |
3618
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
135 |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
136 XXX-Pulkit: Trying to see instability on public changeset |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
137 |
3618
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
138 XXX-Pulkit: this is not helpful |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
139 |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
140 XXX-Marmoute: public changeset "instable themself" |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
141 XXX-Marmoute: I'm not sure if we store this information and it is useful to show it. |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
142 XXX-Marmoute: We should maybe point the user toward `hg obslog` instead` |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
143 $ hg evolve -r 4d1169d8 --list |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
144 4d1169d82e47: modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
145 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
146 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
147 Understanding phasedivergence using obslog |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
148 ------------------------------------------ |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
149 |
3618
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
150 XXX: There must be mention of phase-divergence here |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
151 $ hg obslog -r . --all |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
152 @ 98bb3a6cfe1a (2) tweak a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
153 | |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
154 o 4d1169d82e47 (1) modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
155 rewritten(description) as 98bb3a6cfe1a using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
156 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
157 Solving the phase divergence using evolve command |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
158 -------------------------------------------------- |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
159 |
3618
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
160 (We do not solve evolution other than orphan by default because it turned out |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
161 it was too confusing for users. We used to behave this way, but having multiple |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
162 possible outcome to evolve end up scaring people) |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
163 |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
164 $ hg evolve |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
165 nothing to evolve on current working copy parent |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
166 (do you want to use --phase-divergent) |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
167 [2] |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
168 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
169 testing the --confirm option |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
170 $ hg evolve --phase-divergent --confirm <<EOF |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
171 > n |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
172 > EOF |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
173 recreate:[2] tweak a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
174 atop:[1] modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
175 perform evolve? [Ny] n |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
176 abort: evolve aborted by user |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
177 [255] |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
178 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
179 testing the --dry-run option |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
180 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
181 $ hg evolve --phase-divergent --dry-run |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
182 recreate:[2] tweak a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
183 atop:[1] modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
184 hg rebase --rev 98bb3a6cfe1a --dest d3873e73d99e; |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
185 hg update 4d1169d82e47; |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
186 hg revert --all --rev 98bb3a6cfe1a; |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
187 hg commit --msg "phase-divergent update to 98bb3a6cfe1a" |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
188 |
3618
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
189 XXX: evolve should have mentioned that draft commit is just obsoleted in favour |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
190 of public one. From the message it looks like a new commit is created. |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
191 |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
192 $ hg evolve --phase-divergent |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
193 recreate:[2] tweak a |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
194 atop:[1] modify a |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
195 computing new diff |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
196 committed as 4d1169d82e47 |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
197 working directory is now at 4d1169d82e47 |
1417
9e7da169f66e
test-evolve-bumped: add new test case for merge
Laurent Charignon <lcharignon@fb.com>
parents:
1416
diff
changeset
|
198 |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
199 $ hg glog |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
200 @ 1:4d1169d82e47 modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
201 | () public |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
202 o 0:d3873e73d99e init |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
203 () public |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
204 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
205 Syncying every repo with the new state |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
206 -------------------------------------- |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
207 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
208 $ hg push ../public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
209 pushing to ../public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
210 searching for changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
211 no changes found |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
212 2 new obsolescence markers |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
213 [1] |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
214 $ hg push ../private |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
215 pushing to ../private |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
216 searching for changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
217 no changes found |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
218 2 new obsolescence markers |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
219 [1] |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
220 $ hg push ../bob |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
221 pushing to ../bob |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
222 searching for changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
223 no changes found |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
224 2 new obsolescence markers |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
225 [1] |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
226 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
227 Creating more phase-divergence where a new resolution commit will be formed and |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
228 also testing bookmark movement |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
229 -------------------------------------------------------------------------------- |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
230 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
231 Alice created a commit and push to private non-publishing repo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
232 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
233 $ echo foo > foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
234 $ hg add foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
235 $ hg ci -m "added foo to foo" |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
236 $ hg glog |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
237 @ 3:aa071e5554e3 added foo to foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
238 | () draft |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
239 o 1:4d1169d82e47 modify a |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
240 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
241 o 0:d3873e73d99e init |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
242 () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
243 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
244 $ hg push ../private |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
245 pushing to ../private |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
246 searching for changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
247 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
248 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
249 adding file changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
250 added 1 changesets with 1 changes to 1 files |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
251 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
252 Bob pulled from the private repo and pushed that to publishing repo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
253 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
254 $ cd ../bob |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
255 $ hg pull ../private |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
256 pulling from ../private |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
257 searching for changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
258 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
259 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
260 adding file changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
261 added 1 changesets with 1 changes to 1 files |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
262 new changesets aa071e5554e3 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
263 (run 'hg update' to get a working copy) |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
264 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
265 $ hg push ../public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
266 pushing to ../public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
267 searching for changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
268 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
269 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
270 adding file changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
271 added 1 changesets with 1 changes to 1 files |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
272 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
273 Alice amended that changeset and then pulled from publishing repo creating |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
274 phase-divergence |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
275 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
276 $ cd ../alice |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
277 $ echo bar >> foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
278 $ hg amend -m "added bar to foo" |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
279 $ hg bookmark bm |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
280 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
281 $ hg pull ../public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
282 pulling from ../public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
283 searching for changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
284 no changes found |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
285 1 new phase-divergent changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
286 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
287 $ hg glog |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
288 @ 4:d47f2b37ed82 added bar to foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
289 | (bm) draft |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
290 | o 3:aa071e5554e3 added foo to foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
291 |/ () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
292 o 1:4d1169d82e47 modify a |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
293 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
294 o 0:d3873e73d99e init |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
295 () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
296 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
297 Resolving the new phase-divergence changeset using `hg evolve` |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
298 -------------------------------------------------------------- |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
299 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
300 XXX: this should have popped up for a new commit message of the changeset or an |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
301 option should be there |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
302 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
303 XXX: we should document what should user expect where running this, writing this |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
304 test I have to go through code base to understand what will be the behavior |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
305 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
306 $ hg evolve --phase-divergent |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
307 recreate:[4] added bar to foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
308 atop:[3] added foo to foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
309 computing new diff |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
310 committed as 3d62500c673d |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
311 working directory is now at 3d62500c673d |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
312 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
313 $ hg exp |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
314 # HG changeset patch |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
315 # User test |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
316 # Date 0 0 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
317 # Thu Jan 01 00:00:00 1970 +0000 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
318 # Node ID 3d62500c673dd1c88bb09a73e86d0210aed6fcb6 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
319 # Parent aa071e5554e36080a36cfd24accd5a71e3320f1e |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
320 phase-divergent update to aa071e5554e3: |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
321 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
322 added bar to foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
323 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
324 diff -r aa071e5554e3 -r 3d62500c673d foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
325 --- a/foo Thu Jan 01 00:00:00 1970 +0000 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
326 +++ b/foo Thu Jan 01 00:00:00 1970 +0000 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
327 @@ -1,1 +1,2 @@ |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
328 foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
329 +bar |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
330 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
331 XXX: the commit message is not best one, we should give option to user to modify |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
332 the commit message |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
333 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
334 $ hg glog |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
335 @ 5:3d62500c673d phase-divergent update to aa071e5554e3: |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
336 | |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
337 | added bar to foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
338 | (bm) draft |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
339 o 3:aa071e5554e3 added foo to foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
340 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
341 o 1:4d1169d82e47 modify a |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
342 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
343 o 0:d3873e73d99e init |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
344 () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
345 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
346 $ hg obslog -r . --all |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
347 @ 3d62500c673d (5) phase-divergent update to aa071e5554e3: |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
348 | |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
349 x d47f2b37ed82 (4) added bar to foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
350 | rewritten(description, parent, content) as 3d62500c673d using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
351 | |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
352 o aa071e5554e3 (3) added foo to foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
353 rewritten(description, content) as d47f2b37ed82 using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
354 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
355 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
356 Syncing all other repositories |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
357 ------------------------------ |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
358 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
359 These pushed should not be turned to quiet mode as the output is very helpful to |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
360 make sure everything is working fine |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
361 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
362 $ hg push ../bob |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
363 pushing to ../bob |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
364 searching for changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
365 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
366 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
367 adding file changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
368 added 1 changesets with 1 changes to 1 files |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
369 2 new obsolescence markers |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
370 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
371 $ hg push ../private |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
372 pushing to ../private |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
373 searching for changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
374 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
375 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
376 adding file changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
377 added 1 changesets with 1 changes to 1 files |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
378 2 new obsolescence markers |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
379 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
380 $ hg push ../public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
381 pushing to ../public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
382 searching for changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
383 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
384 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
385 adding file changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
386 added 1 changesets with 1 changes to 1 files |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
387 2 new obsolescence markers |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
388 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
389 Creating a phasedivergence changeset where the divergent changeset changed in a |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
390 way that we rebase that on old public changeset, there will be conflicts, but |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
391 the `hg evolve` command handles it very well and uses `hg revert` logic to |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
392 prevent any conflicts |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
393 ------------------------------------------------------------------------------- |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
394 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
395 Alice creates one more changeset and pushes to private repo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
396 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
397 $ echo bar > bar |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
398 $ hg ci -Aqm "added bar to bar" |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
399 $ hg push ../private |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
400 pushing to ../private |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
401 searching for changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
402 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
403 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
404 adding file changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
405 added 1 changesets with 1 changes to 1 files |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
406 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
407 Bob pulls from private and pushes to public repo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
408 $ cd ../bob |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
409 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
410 $ hg pull ../private |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
411 pulling from ../private |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
412 searching for changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
413 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
414 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
415 adding file changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
416 added 1 changesets with 1 changes to 1 files |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
417 new changesets b756eb10ea73 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
418 (run 'hg update' to get a working copy) |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
419 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
420 $ hg push ../public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
421 pushing to ../public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
422 searching for changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
423 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
424 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
425 adding file changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
426 added 1 changesets with 1 changes to 1 files |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
427 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
428 Alice amends the changeset and then pull from public creating phase-divergence |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
429 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
430 $ cd ../alice |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
431 $ echo foo > bar |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
432 $ hg amend -m "foo to bar" |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
433 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
434 $ hg pull ../public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
435 pulling from ../public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
436 searching for changes |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
437 no changes found |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
438 1 new phase-divergent changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
439 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
440 $ hg glog |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
441 @ 7:2c3560aedead foo to bar |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
442 | (bm) draft |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
443 | o 6:b756eb10ea73 added bar to bar |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
444 |/ () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
445 o 5:3d62500c673d phase-divergent update to aa071e5554e3: |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
446 | |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
447 | added bar to foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
448 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
449 o 3:aa071e5554e3 added foo to foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
450 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
451 o 1:4d1169d82e47 modify a |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
452 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
453 o 0:d3873e73d99e init |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
454 () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
455 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
456 Resolving the new phase-divergence changeset using `hg evolve` |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
457 --------------------------------------------------------------- |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
458 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
459 $ hg evolve --phase-divergent |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
460 recreate:[7] foo to bar |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
461 atop:[6] added bar to bar |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
462 computing new diff |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
463 committed as 502e73736632 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
464 working directory is now at 502e73736632 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
465 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
466 $ hg exp |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
467 # HG changeset patch |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
468 # User test |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
469 # Date 0 0 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
470 # Thu Jan 01 00:00:00 1970 +0000 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
471 # Node ID 502e737366322886cf628276aa0a2796904453b4 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
472 # Parent b756eb10ea73ee4ba69c998e64a5c6e1005d74b5 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
473 phase-divergent update to b756eb10ea73: |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
474 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
475 foo to bar |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
476 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
477 diff -r b756eb10ea73 -r 502e73736632 bar |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
478 --- a/bar Thu Jan 01 00:00:00 1970 +0000 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
479 +++ b/bar Thu Jan 01 00:00:00 1970 +0000 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
480 @@ -1,1 +1,1 @@ |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
481 -bar |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
482 +foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
483 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
484 $ hg glog |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
485 @ 8:502e73736632 phase-divergent update to b756eb10ea73: |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
486 | |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
487 | foo to bar |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
488 | (bm) draft |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
489 o 6:b756eb10ea73 added bar to bar |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
490 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
491 o 5:3d62500c673d phase-divergent update to aa071e5554e3: |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
492 | |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
493 | added bar to foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
494 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
495 o 3:aa071e5554e3 added foo to foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
496 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
497 o 1:4d1169d82e47 modify a |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
498 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
499 o 0:d3873e73d99e init |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
500 () public |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
501 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
502 Syncing all the repositories |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
503 ---------------------------- |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
504 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
505 $ hg push ../private |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
506 pushing to ../private |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
507 searching for changes |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
508 adding changesets |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
509 adding manifests |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
510 adding file changes |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
511 added 1 changesets with 1 changes to 1 files |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
512 2 new obsolescence markers |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
513 $ hg push ../public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
514 pushing to ../public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
515 searching for changes |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
516 adding changesets |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
517 adding manifests |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
518 adding file changes |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
519 added 1 changesets with 1 changes to 1 files |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
520 2 new obsolescence markers |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
521 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
522 Creating phase-divergence with divergent changeset and precursor having |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
523 different parents |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
524 ----------------------------------------------------------------------- |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
525 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
526 Alice creates a changeset and pushes to private repo |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
527 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
528 $ echo x > x |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
529 $ hg ci -Am "added x to x" |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
530 adding x |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
531 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
532 $ hg push ../private |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
533 pushing to ../private |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
534 searching for changes |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
535 adding changesets |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
536 adding manifests |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
537 adding file changes |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
538 added 1 changesets with 1 changes to 1 files |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
539 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
540 Bob does what he always does, pull from private and push to public, he is acting |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
541 as a CI service |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
542 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
543 $ cd ../bob |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
544 $ hg pull ../private |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
545 pulling from ../private |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
546 searching for changes |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
547 adding changesets |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
548 adding manifests |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
549 adding file changes |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
550 added 2 changesets with 2 changes to 2 files |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
551 2 new obsolescence markers |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
552 new changesets 502e73736632:2352021b3785 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
553 (run 'hg update' to get a working copy) |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
554 $ hg push ../public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
555 pushing to ../public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
556 searching for changes |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
557 adding changesets |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
558 adding manifests |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
559 adding file changes |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
560 added 1 changesets with 1 changes to 1 files |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
561 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
562 Alice like always dont care about Bob existence and rebases her changeset and |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
563 then pull from public repo creating phase divergence |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
564 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
565 $ cd ../alice |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
566 $ hg rebase -r . -d .^^^ |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
567 rebasing 9:2352021b3785 "added x to x" (bm tip) |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
568 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
569 $ hg pull ../public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
570 pulling from ../public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
571 searching for changes |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
572 no changes found |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
573 1 new phase-divergent changesets |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
574 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
575 $ hg obslog -r . |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
576 @ 334e300d6db5 (10) added x to x |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
577 | |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
578 o 2352021b3785 (9) added x to x |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
579 rewritten(parent) as 334e300d6db5 using rebase by test (Thu Jan 01 00:00:00 1970 +0000) |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
580 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
581 $ hg glog -r .^:: |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
582 @ 10:334e300d6db5 added x to x |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
583 | (bm) draft |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
584 | o 9:2352021b3785 added x to x |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
585 | | () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
586 | o 8:502e73736632 phase-divergent update to b756eb10ea73: |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
587 | | |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
588 | | foo to bar |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
589 | | () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
590 | o 6:b756eb10ea73 added bar to bar |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
591 |/ () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
592 o 5:3d62500c673d phase-divergent update to aa071e5554e3: |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
593 | |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
594 ~ added bar to foo |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
595 () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
596 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
597 Using `hg evolve` to resolve phase-divergence |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
598 --------------------------------------------- |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
599 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
600 $ hg evolve --phase-divergent |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
601 recreate:[10] added x to x |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
602 atop:[9] added x to x |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
603 rebasing to destination parent: 502e73736632 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
604 (leaving bookmark bm) |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
605 computing new diff |
3623
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
606 committed as 2352021b3785 |
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
607 working directory is now at 2352021b3785 |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
608 |
3623
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
609 XXX: we should move bookmark here |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
610 $ hg glog |
3623
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
611 x 11:b1a0e143e32b added x to x |
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
612 | (bm) draft |
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
613 | @ 9:2352021b3785 added x to x |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
614 |/ () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
615 o 8:502e73736632 phase-divergent update to b756eb10ea73: |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
616 | |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
617 | foo to bar |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
618 | () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
619 o 6:b756eb10ea73 added bar to bar |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
620 | () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
621 o 5:3d62500c673d phase-divergent update to aa071e5554e3: |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
622 | |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
623 | added bar to foo |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
624 | () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
625 o 3:aa071e5554e3 added foo to foo |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
626 | () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
627 o 1:4d1169d82e47 modify a |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
628 | () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
629 o 0:d3873e73d99e init |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
630 () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
631 |
3623
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
632 $ hg obslog -r . b1a0e143e32b --all --hidden |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
633 x b1a0e143e32b (11) added x to x |
3623
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
634 | pruned using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
635 | |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
636 x 334e300d6db5 (10) added x to x |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
637 | rewritten(parent) as b1a0e143e32b using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
638 | |
3623
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
639 @ 2352021b3785 (9) added x to x |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
640 rewritten(parent) as 334e300d6db5 using rebase by test (Thu Jan 01 00:00:00 1970 +0000) |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
641 |
3623
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
642 |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
643 $ hg exp |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
644 # HG changeset patch |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
645 # User test |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
646 # Date 0 0 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
647 # Thu Jan 01 00:00:00 1970 +0000 |
3623
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
648 # Node ID 2352021b37851be226ebed109b0eb6eada918566 |
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
649 # Parent 502e737366322886cf628276aa0a2796904453b4 |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
650 added x to x |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
651 |
3623
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
652 diff -r 502e73736632 -r 2352021b3785 x |
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
653 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
654 +++ b/x Thu Jan 01 00:00:00 1970 +0000 |
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
655 @@ -0,0 +1,1 @@ |
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
656 +x |