Mercurial > evolve
annotate tests/test-evolve-phase-divergence.t @ 3936:537fd9a86c06 mercurial-4.3
test-compat: merge mercurial-4.4 into mercurial-4.3
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 03 Aug 2018 00:22:50 +0200 |
parents | e5ba6531503e d00f0c369bc7 |
children | e07e764c0f48 |
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] |
3625
7e253bbac9a1
tests: show first line of commit message in test-evolve-phase-divergence.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3624
diff
changeset
|
6 > glog = log -GT "{rev}:{node|short} {desc|firstline}\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 |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
83 (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
|
84 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
85 $ hg glog |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
86 o 1:4d1169d82e47 modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
87 | () draft |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
88 o 0:d3873e73d99e init |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
89 () public |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
90 |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
91 $ hg push ../public |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
92 pushing to ../public |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
93 searching for changes |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
94 adding changesets |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
95 adding manifests |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
96 adding file changes |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
97 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
|
98 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
99 $ hg glog |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
100 o 1:4d1169d82e47 modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
101 | () public |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
102 o 0:d3873e73d99e init |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
103 () public |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
104 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
105 *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
|
106 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
|
107 |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
108 $ cd ../alice |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
109 $ hg amend -m 'tweak a' |
3618
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
110 |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
111 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
|
112 $ hg pull ../public |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
113 pulling from ../public |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
114 searching for changes |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
115 no changes found |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
116 1 new bumped changesets |
1150
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
117 |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
118 $ hg glog |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
119 @ 2:98bb3a6cfe1a tweak a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
120 | () draft |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
121 | o 1:4d1169d82e47 modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
122 |/ () public |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
123 o 0:d3873e73d99e init |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
124 () public |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
125 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
126 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
|
127 ------------------------------------------------------ |
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 $ hg evolve --list |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
130 98bb3a6cfe1a: tweak a |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
131 bumped: 4d1169d82e47 (immutable precursor) |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
132 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
133 |
3618
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
134 |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
135 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
|
136 |
3618
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
137 XXX-Pulkit: this is not helpful |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
138 |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
139 XXX-Marmoute: public changeset "instable themself" |
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
140 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
|
141 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
|
142 $ hg evolve -r 4d1169d8 --list |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
143 4d1169d82e47: modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
144 |
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 Understanding phasedivergence using obslog |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
147 ------------------------------------------ |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
148 |
3618
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
149 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
|
150 $ hg obslog -r . --all |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
151 @ 98bb3a6cfe1a (2) tweak a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
152 | |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
153 o 4d1169d82e47 (1) modify a |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
154 rewritten(description) as 98bb3a6cfe1a by test (Thu Jan 01 00:00:00 1970 +0000) |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
155 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
156 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
|
157 -------------------------------------------------- |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
158 |
3618
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
159 (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
|
160 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
|
161 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
|
162 |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
163 $ hg evolve |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
164 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
|
165 (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
|
166 [2] |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
167 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
168 testing the --confirm option |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
169 $ hg evolve --phase-divergent --confirm <<EOF |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
170 > n |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
171 > EOF |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
172 recreate:[2] tweak a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
173 atop:[1] modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
174 perform evolve? [Ny] n |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
175 abort: evolve aborted by user |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
176 [255] |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
177 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
178 testing the --dry-run option |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
179 |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
180 $ hg evolve --phase-divergent --dry-run |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
181 recreate:[2] tweak a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
182 atop:[1] modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
183 hg rebase --rev 98bb3a6cfe1a --dest d3873e73d99e; |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
184 hg update 4d1169d82e47; |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
185 hg revert --all --rev 98bb3a6cfe1a; |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
186 hg commit --msg "bumped update to 98bb3a6cfe1a" |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
187 |
3618
2d8e39919742
tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3617
diff
changeset
|
188 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
|
189 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
|
190 |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
191 $ 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
|
192 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
|
193 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
|
194 computing new diff |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
195 committed as 4d1169d82e47 |
2c99d92faa62
evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff
changeset
|
196 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
|
197 |
3617
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
198 $ hg glog |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
199 @ 1:4d1169d82e47 modify a |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
200 | () public |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
201 o 0:d3873e73d99e init |
a0e322641810
tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3610
diff
changeset
|
202 () public |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
203 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
204 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
|
205 -------------------------------------- |
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 $ 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
|
208 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
|
209 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
|
210 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
|
211 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
|
212 [1] |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
213 $ 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
|
214 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
|
215 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
|
216 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
|
217 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
|
218 [1] |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
219 $ 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
|
220 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
|
221 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
|
222 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
|
223 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
|
224 [1] |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
225 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
226 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
|
227 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
|
228 -------------------------------------------------------------------------------- |
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 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
|
231 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
232 $ 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
|
233 $ 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
|
234 $ 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
|
235 $ hg glog |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
236 @ 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
|
237 | () draft |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
238 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
|
239 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
240 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
|
241 () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
242 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
243 $ 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
|
244 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
|
245 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
|
246 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
247 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
248 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
|
249 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
|
250 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
251 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
|
252 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
253 $ cd ../bob |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
254 $ 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
|
255 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
|
256 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
|
257 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
258 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
259 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
|
260 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
|
261 (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
|
262 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
263 $ 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
|
264 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
|
265 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
|
266 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
267 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
268 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
|
269 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
|
270 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
271 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
|
272 phase-divergence |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
273 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
274 $ cd ../alice |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
275 $ 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
|
276 $ 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
|
277 $ 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
|
278 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
279 $ 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
|
280 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
|
281 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
|
282 no changes found |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
283 1 new bumped changesets |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
284 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
285 $ hg glog |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
286 @ 5:d47f2b37ed82 added bar to foo |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
287 | (bm) draft |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
288 | 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
|
289 |/ () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
290 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
|
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 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
|
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 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
295 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
|
296 -------------------------------------------------------------- |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
297 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
298 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
|
299 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
|
300 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
301 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
|
302 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
|
303 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
304 $ hg evolve --phase-divergent |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
305 recreate:[5] added bar to foo |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
306 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
|
307 computing new diff |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
308 committed as bdf645eb43bb |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
309 working directory is now at bdf645eb43bb |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
310 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
311 $ hg exp |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
312 # 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
|
313 # User test |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
314 # 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
|
315 # Thu Jan 01 00:00:00 1970 +0000 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
316 # Node ID bdf645eb43bb0c9f180cd17d109bb359ce1571b2 |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
317 # Parent aa071e5554e36080a36cfd24accd5a71e3320f1e |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
318 bumped update to aa071e5554e3: |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
319 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
320 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
|
321 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
322 diff -r aa071e5554e3 -r bdf645eb43bb foo |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
323 --- 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
|
324 +++ 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
|
325 @@ -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
|
326 foo |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
327 +bar |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
328 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
329 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
|
330 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
|
331 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
332 $ hg glog |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
333 @ 6:bdf645eb43bb bumped update to aa071e5554e3: |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
334 | (bm) draft |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
335 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
|
336 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
337 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
|
338 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
339 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
|
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 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
342 $ hg obslog -r . --all |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
343 @ bdf645eb43bb (6) bumped update to aa071e5554e3: |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
344 | |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
345 x d47f2b37ed82 (5) added bar to foo |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
346 | rewritten(description, parent, content) as bdf645eb43bb by test (Thu Jan 01 00:00:00 1970 +0000) |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
347 | |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
348 o aa071e5554e3 (3) added foo to foo |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
349 rewritten(description, content) as d47f2b37ed82 by test (Thu Jan 01 00:00:00 1970 +0000) |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
350 |
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 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
|
353 ------------------------------ |
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 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
|
356 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
|
357 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
358 $ 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
|
359 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
|
360 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
|
361 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
362 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
363 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
|
364 added 1 changesets with 1 changes to 1 files |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
365 3 new obsolescence markers |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
366 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
367 $ 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
|
368 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
|
369 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
|
370 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
371 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
372 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
|
373 added 1 changesets with 1 changes to 1 files |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
374 3 new obsolescence markers |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
375 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
376 $ 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
|
377 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
|
378 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
|
379 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
380 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
381 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
|
382 added 1 changesets with 1 changes to 1 files |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
383 3 new obsolescence markers |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
384 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
385 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
|
386 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
|
387 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
|
388 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
|
389 ------------------------------------------------------------------------------- |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
390 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
391 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
|
392 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
393 $ 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
|
394 $ 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
|
395 $ 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
|
396 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
|
397 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
|
398 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
399 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
400 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
|
401 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
|
402 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
403 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
|
404 $ cd ../bob |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
405 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
406 $ 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
|
407 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
|
408 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
|
409 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
410 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
411 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
|
412 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
|
413 (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
|
414 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
415 $ 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
|
416 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
|
417 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
|
418 adding changesets |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
419 adding manifests |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
420 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
|
421 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
|
422 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
423 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
|
424 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
425 $ cd ../alice |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
426 $ 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
|
427 $ 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
|
428 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
429 $ 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
|
430 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
|
431 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
|
432 no changes found |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
433 1 new bumped changesets |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
434 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
435 $ hg glog |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
436 @ 9:d529f41744b3 foo to bar |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
437 | (bm) draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
438 | o 7:6176b60d16d2 added bar to bar |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
439 |/ () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
440 o 6:bdf645eb43bb bumped update to aa071e5554e3: |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
441 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
442 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
|
443 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
444 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
|
445 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
446 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
|
447 () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
448 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
449 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
|
450 --------------------------------------------------------------- |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
451 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
452 $ hg evolve --phase-divergent |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
453 recreate:[9] foo to bar |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
454 atop:[7] added bar to bar |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
455 computing new diff |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
456 committed as 73f67b6cf2c4 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
457 working directory is now at 73f67b6cf2c4 |
3620
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 exp |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
460 # 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
|
461 # User test |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
462 # 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
|
463 # Thu Jan 01 00:00:00 1970 +0000 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
464 # Node ID 73f67b6cf2c428075c41d377f8651912e0d8cae2 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
465 # Parent 6176b60d16d20d69c77bb27c2a1b79caec671612 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
466 bumped update to 6176b60d16d2: |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
467 |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
468 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
|
469 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
470 diff -r 6176b60d16d2 -r 73f67b6cf2c4 bar |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
471 --- 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
|
472 +++ 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
|
473 @@ -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
|
474 -bar |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
475 +foo |
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 $ hg glog |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
478 @ 10:73f67b6cf2c4 bumped update to 6176b60d16d2: |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
479 | (bm) draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
480 o 7:6176b60d16d2 added bar to bar |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
481 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
482 o 6:bdf645eb43bb bumped update to aa071e5554e3: |
3620
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
483 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
484 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
|
485 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
486 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
|
487 | () public |
1f020455f6fe
tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3619
diff
changeset
|
488 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
|
489 () 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
|
490 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
491 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
|
492 ---------------------------- |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
493 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
494 $ 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
|
495 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
|
496 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
|
497 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
|
498 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
|
499 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
|
500 added 1 changesets with 1 changes to 1 files |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
501 3 new obsolescence markers |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
502 $ 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
|
503 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
|
504 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
|
505 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
|
506 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
|
507 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
|
508 added 1 changesets with 1 changes to 1 files |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
509 3 new obsolescence markers |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
510 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
511 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
|
512 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
|
513 ----------------------------------------------------------------------- |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
514 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
515 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
|
516 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
517 $ 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
|
518 $ 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
|
519 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
|
520 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
521 $ 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
|
522 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
|
523 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
|
524 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
|
525 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
|
526 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
|
527 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
|
528 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
529 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
|
530 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
|
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 $ 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
|
533 $ 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
|
534 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
|
535 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
|
536 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
|
537 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
|
538 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
|
539 added 2 changesets with 2 changes to 2 files |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
540 3 new obsolescence markers |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
541 (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
|
542 $ 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
|
543 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
|
544 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
|
545 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
|
546 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
|
547 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
|
548 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
|
549 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
550 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
|
551 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
|
552 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
553 $ 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
|
554 $ hg rebase -r . -d .^^^ |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
555 rebasing 11:ae81846887bc "added x to x" (tip bm) |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
556 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
557 $ 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
|
558 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
|
559 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
|
560 no changes found |
3715
a77fb9669e99
test-compat: merge mercurial-4.4 into mercurial-4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3714
diff
changeset
|
561 1 new bumped changesets |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
562 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
563 $ hg obslog -r . |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
564 @ 5cc37876a882 (12) 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
|
565 | |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
566 o ae81846887bc (11) added x to x |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
567 rewritten(parent) as 5cc37876a882 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
|
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 glog -r .^:: |
3714
19ec729f3ca2
test-compat: merge mercurial-4.5 into mercurial-4.4
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3702
diff
changeset
|
570 hg: parse error at 4: not a prefix: end |
19ec729f3ca2
test-compat: merge mercurial-4.5 into mercurial-4.4
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3702
diff
changeset
|
571 [255] |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
572 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
573 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
|
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 |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
576 $ hg evolve --phase-divergent |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
577 recreate:[12] added x to x |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
578 atop:[11] added x to x |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
579 rebasing to destination parent: 73f67b6cf2c4 |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
580 (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
|
581 computing new diff |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
582 committed as ae81846887bc |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
583 working directory is now at ae81846887bc |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
584 |
3623
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
585 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
|
586 $ hg glog |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
587 @ 11:ae81846887bc added x to x |
3624
6756f2a85f5b
evolve: make sure bookmarks are moved after phase-divergence resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3623
diff
changeset
|
588 | (bm) public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
589 o 10:73f67b6cf2c4 bumped update to 6176b60d16d2: |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
590 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
591 o 7:6176b60d16d2 added bar to bar |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
592 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
593 o 6:bdf645eb43bb bumped update to aa071e5554e3: |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
594 | () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
595 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
|
596 | () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
597 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
|
598 | () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
599 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
|
600 () public |
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
601 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
602 $ hg obslog -r ae81846887bc --all --hidden |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
603 x 14c7c60e138f (13) added x to x |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
604 | pruned 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
|
605 | |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
606 x 5cc37876a882 (12) added x to x |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
607 | rewritten(parent) as 14c7c60e138f 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
|
608 | |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
609 @ ae81846887bc (11) added x to x |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
610 rewritten(parent) as 5cc37876a882 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
|
611 |
3623
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
612 |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
613 $ 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
|
614 # 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
|
615 # 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
|
616 # 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
|
617 # Thu Jan 01 00:00:00 1970 +0000 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
618 # Node ID ae81846887bc53e9ba17ea2172950677d1ba3a1d |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
619 # Parent 73f67b6cf2c428075c41d377f8651912e0d8cae2 |
3621
db3ec5f79ab9
tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3620
diff
changeset
|
620 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
|
621 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
622 diff -r 73f67b6cf2c4 -r ae81846887bc x |
3623
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
623 --- /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
|
624 +++ 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
|
625 @@ -0,0 +1,1 @@ |
71fbb679e311
evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3621
diff
changeset
|
626 +x |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
627 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
628 Creating divergence with parent and content change both but not resulting in |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
629 conflicts |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
630 ----------------------------------------------------------------------------- |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
631 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
632 Alice is tired of pushing and pulling and will create phase-divergence locally |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
633 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
634 $ hg glog |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
635 @ 11:ae81846887bc added x to x |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
636 | (bm) public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
637 o 10:73f67b6cf2c4 bumped update to 6176b60d16d2: |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
638 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
639 o 7:6176b60d16d2 added bar to bar |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
640 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
641 o 6:bdf645eb43bb bumped update to aa071e5554e3: |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
642 | () public |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
643 o 3:aa071e5554e3 added foo to foo |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
644 | () public |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
645 o 1:4d1169d82e47 modify a |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
646 | () public |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
647 o 0:d3873e73d99e init |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
648 () public |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
649 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
650 $ echo y > y |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
651 $ echo foobar >> foo |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
652 $ hg add y |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
653 $ hg ci -m "y to y and foobar to foo" |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
654 $ hg rebase -r . -d .^^^ |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
655 rebasing 14:43dd61d1a393 "y to y and foobar to foo" (tip) |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
656 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
657 $ echo foo > y |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
658 $ hg amend |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
659 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
660 Alice making the old changeset public to have content-divergence |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
661 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
662 $ hg phase -r 43dd61d1a393 --public --hidden |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
663 1 new bumped changesets |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
664 $ hg glog |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
665 @ 17:694790041d7d y to y and foobar to foo |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
666 | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
667 | o 14:43dd61d1a393 y to y and foobar to foo |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
668 | | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
669 | o 11:ae81846887bc added x to x |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
670 | | (bm) public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
671 | o 10:73f67b6cf2c4 bumped update to 6176b60d16d2: |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
672 |/ () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
673 o 7:6176b60d16d2 added bar to bar |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
674 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
675 o 6:bdf645eb43bb bumped update to aa071e5554e3: |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
676 | () public |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
677 o 3:aa071e5554e3 added foo to foo |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
678 | () public |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
679 o 1:4d1169d82e47 modify a |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
680 | () public |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
681 o 0:d3873e73d99e init |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
682 () public |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
683 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
684 $ hg obslog -r . |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
685 @ 694790041d7d (17) y to y and foobar to foo |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
686 | |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
687 x 9195657992dd (15) y to y and foobar to foo |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
688 | rewritten(content) as 694790041d7d by test (Thu Jan 01 00:00:00 1970 +0000) |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
689 | |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
690 o 43dd61d1a393 (14) y to y and foobar to foo |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
691 rewritten(parent) as 9195657992dd by test (Thu Jan 01 00:00:00 1970 +0000) |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
692 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
693 Resolving divergence using `hg evolve` |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
694 ------------------------------------- |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
695 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
696 $ hg evolve --phase-divergent |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
697 recreate:[17] y to y and foobar to foo |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
698 atop:[14] y to y and foobar to foo |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
699 rebasing to destination parent: ae81846887bc |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
700 computing new diff |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
701 committed as 8da44ebfc416 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
702 working directory is now at 8da44ebfc416 |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
703 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
704 $ hg exp |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
705 # HG changeset patch |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
706 # User test |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
707 # Date 0 0 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
708 # Thu Jan 01 00:00:00 1970 +0000 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
709 # Node ID 8da44ebfc416e3a6fc52c29f3a78e1d87c0d492e |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
710 # Parent 43dd61d1a393577a202514a924148969b8f74db8 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
711 bumped update to 43dd61d1a393: |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
712 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
713 y to y and foobar to foo |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
714 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
715 diff -r 43dd61d1a393 -r 8da44ebfc416 y |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
716 --- a/y Thu Jan 01 00:00:00 1970 +0000 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
717 +++ b/y Thu Jan 01 00:00:00 1970 +0000 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
718 @@ -1,1 +1,1 @@ |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
719 -y |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
720 +foo |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
721 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
722 $ hg glog |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
723 @ 19:8da44ebfc416 bumped update to 43dd61d1a393: |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
724 | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
725 o 14:43dd61d1a393 y to y and foobar to foo |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
726 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
727 o 11:ae81846887bc added x to x |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
728 | (bm) public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
729 o 10:73f67b6cf2c4 bumped update to 6176b60d16d2: |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
730 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
731 o 7:6176b60d16d2 added bar to bar |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
732 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
733 o 6:bdf645eb43bb bumped update to aa071e5554e3: |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
734 | () public |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
735 o 3:aa071e5554e3 added foo to foo |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
736 | () public |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
737 o 1:4d1169d82e47 modify a |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
738 | () public |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
739 o 0:d3873e73d99e init |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
740 () public |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
741 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
742 Creating divergence with parent and content change both which results in |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
743 conflicts while rebasing on parent |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
744 ----------------------------------------------------------------------------- |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
745 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
746 $ echo l > l |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
747 $ hg ci -Aqm "added l to l" |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
748 $ hg rebase -r . -d .^^^^ |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
749 rebasing 20:515507bedb51 "added l to l" (tip) |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
750 $ echo kl > l |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
751 $ echo foo > x |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
752 $ hg add x |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
753 $ hg amend |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
754 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
755 $ hg obslog -r . |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
756 @ e3c208c26c0c (23) added l to l |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
757 | |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
758 x c114000165ef (21) added l to l |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
759 | rewritten(content) as e3c208c26c0c by test (Thu Jan 01 00:00:00 1970 +0000) |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
760 | |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
761 x 515507bedb51 (20) added l to l |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
762 rewritten(parent) as c114000165ef by test (Thu Jan 01 00:00:00 1970 +0000) |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
763 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
764 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
765 $ hg phase -r 515507bedb51 --public --hidden |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
766 1 new bumped changesets |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
767 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
768 Resolution using `hg evolve --phase-divergent` |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
769 ---------------------------------------------- |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
770 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
771 $ hg evolve --phase-divergent |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
772 recreate:[23] added l to l |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
773 atop:[20] added l to l |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
774 rebasing to destination parent: 8da44ebfc416 |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
775 merging x |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
776 warning: conflicts while merging x! (edit, then use 'hg resolve --mark') |
3852
629558d09898
evolve: raise error.InterventionRequired instead of Abort when conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3843
diff
changeset
|
777 fix conflicts and see `hg help evolve.interrupted` |
629558d09898
evolve: raise error.InterventionRequired instead of Abort when conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3843
diff
changeset
|
778 [1] |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
779 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
780 $ hg diff |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
781 diff -r 8da44ebfc416 l |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
782 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
783 +++ b/l Thu Jan 01 00:00:00 1970 +0000 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
784 @@ -0,0 +1,1 @@ |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
785 +kl |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
786 diff -r 8da44ebfc416 x |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
787 --- a/x Thu Jan 01 00:00:00 1970 +0000 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
788 +++ b/x Thu Jan 01 00:00:00 1970 +0000 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
789 @@ -1,1 +1,5 @@ |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
790 +<<<<<<< destination: 8da44ebfc416 - test: bumped update to 43dd61d1a393: |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
791 x |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
792 +======= |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
793 +foo |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
794 +>>>>>>> evolving: e3c208c26c0c - test: added l to l |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
795 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
796 $ echo foo > x |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
797 |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
798 $ hg resolve -m |
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
799 (no more unresolved files) |
3628
170b99a9c0b4
evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3626
diff
changeset
|
800 continue: hg evolve --continue |
170b99a9c0b4
evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3626
diff
changeset
|
801 |
170b99a9c0b4
evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3626
diff
changeset
|
802 $ hg evolve --continue |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
803 evolving 23:e3c208c26c0c "added l to l" |
3633
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
804 computing new diff |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
805 committed as 01e0d829c156 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
806 working directory is now at 01e0d829c156 |
3626
760210aa0d78
tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3625
diff
changeset
|
807 |
3628
170b99a9c0b4
evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3626
diff
changeset
|
808 $ hg glog |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
809 @ 25:01e0d829c156 bumped update to 515507bedb51: |
3628
170b99a9c0b4
evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3626
diff
changeset
|
810 | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
811 o 20:515507bedb51 added l to l |
3633
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
812 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
813 o 19:8da44ebfc416 bumped update to 43dd61d1a393: |
3633
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
814 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
815 o 14:43dd61d1a393 y to y and foobar to foo |
3633
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
816 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
817 o 11:ae81846887bc added x to x |
3633
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
818 | (bm) public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
819 o 10:73f67b6cf2c4 bumped update to 6176b60d16d2: |
3628
170b99a9c0b4
evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3626
diff
changeset
|
820 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
821 o 7:6176b60d16d2 added bar to bar |
3628
170b99a9c0b4
evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3626
diff
changeset
|
822 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
823 o 6:bdf645eb43bb bumped update to aa071e5554e3: |
3628
170b99a9c0b4
evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3626
diff
changeset
|
824 | () public |
170b99a9c0b4
evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3626
diff
changeset
|
825 o 3:aa071e5554e3 added foo to foo |
170b99a9c0b4
evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3626
diff
changeset
|
826 | () public |
170b99a9c0b4
evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3626
diff
changeset
|
827 o 1:4d1169d82e47 modify a |
170b99a9c0b4
evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3626
diff
changeset
|
828 | () public |
170b99a9c0b4
evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3626
diff
changeset
|
829 o 0:d3873e73d99e init |
170b99a9c0b4
evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3626
diff
changeset
|
830 () public |
3633
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
831 |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
832 $ hg exp |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
833 # HG changeset patch |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
834 # User test |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
835 # Date 0 0 |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
836 # Thu Jan 01 00:00:00 1970 +0000 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
837 # Node ID 01e0d829c1560d8297062062dff671e272439e38 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
838 # Parent 515507bedb512ac15258c2ab44809645139055ef |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
839 bumped update to 515507bedb51: |
3633
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
840 |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
841 added l to l |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
842 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
843 diff -r 515507bedb51 -r 01e0d829c156 l |
3633
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
844 --- a/l Thu Jan 01 00:00:00 1970 +0000 |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
845 +++ b/l Thu Jan 01 00:00:00 1970 +0000 |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
846 @@ -1,1 +1,1 @@ |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
847 -l |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
848 +kl |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
849 diff -r 515507bedb51 -r 01e0d829c156 x |
3633
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
850 --- a/x Thu Jan 01 00:00:00 1970 +0000 |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
851 +++ b/x Thu Jan 01 00:00:00 1970 +0000 |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
852 @@ -1,1 +1,1 @@ |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
853 -x |
ed3032ee53eb
evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3629
diff
changeset
|
854 +foo |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
855 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
856 Creating phase divergence when couple of changesets are folded into one |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
857 ------------------------------------------------------------------------ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
858 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
859 $ hg glog -r . |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
860 @ 25:01e0d829c156 bumped update to 515507bedb51: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
861 | () draft |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
862 ~ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
863 $ echo f > f |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
864 $ hg ci -Aqm "added f" |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
865 $ echo g > g |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
866 $ hg ci -Aqm "added g" |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
867 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
868 $ hg fold -r . -r .^ --exact |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
869 2 changesets folded |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
870 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
871 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
872 $ hg evolve --list |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
873 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
874 $ hg phase -r e86ee52bfd76 --public --hidden |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
875 1 new bumped changesets |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
876 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
877 $ hg glog -r 515507bedb51:: |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
878 @ 28:d83c51bdc098 added g |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
879 | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
880 | o 27:e86ee52bfd76 added g |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
881 | | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
882 | o 26:d3c143cd906e added f |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
883 |/ () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
884 o 25:01e0d829c156 bumped update to 515507bedb51: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
885 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
886 o 20:515507bedb51 added l to l |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
887 | () public |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
888 ~ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
889 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
890 $ hg evolve --list |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
891 d83c51bdc098: added g |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
892 bumped: d3c143cd906e (immutable precursor) |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
893 bumped: e86ee52bfd76 (immutable precursor) |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
894 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
895 Resolving phase divergence using `hg evolve` |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
896 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
897 $ hg evolve --phase-divergent --all |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
898 recreate:[28] added g |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
899 atop:[27] added g |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
900 rebasing to destination parent: d3c143cd906e |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
901 computing new diff |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
902 committed as e86ee52bfd76 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
903 working directory is now at e86ee52bfd76 |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
904 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
905 $ hg glog -r 515507bedb51:: |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
906 @ 27:e86ee52bfd76 added g |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
907 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
908 o 26:d3c143cd906e added f |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
909 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
910 o 25:01e0d829c156 bumped update to 515507bedb51: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
911 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
912 o 20:515507bedb51 added l to l |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
913 | () public |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
914 ~ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
915 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
916 When the public changesets is splitted causing phase-divergence |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
917 --------------------------------------------------------------- |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
918 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
919 $ echo m > m |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
920 $ echo n > n |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
921 $ hg ci -Aqm "added m and n" |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
922 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
923 $ hg glog -r d3c143cd906e:: |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
924 @ 30:bbb1ce6e7cb5 added m and n |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
925 | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
926 o 27:e86ee52bfd76 added g |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
927 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
928 o 26:d3c143cd906e added f |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
929 | () public |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
930 ~ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
931 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
932 $ hg prev |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
933 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
934 [27] added g |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
935 $ echo m > m |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
936 $ hg ci -Aqm "added m" |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
937 $ echo n > n |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
938 $ hg ci -Aqm "added n" |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
939 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
940 $ hg glog -r e86ee52bfd76:: |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
941 @ 32:e1e84fb7bd8c added n |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
942 | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
943 o 31:38f8157363bc added m |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
944 | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
945 | o 30:bbb1ce6e7cb5 added m and n |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
946 |/ () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
947 o 27:e86ee52bfd76 added g |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
948 | () public |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
949 ~ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
950 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
951 $ hg prune -r bbb1ce6e7cb5 --succ 38f8157363bc --succ e1e84fb7bd8c --split |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
952 1 changesets pruned |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
953 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
954 $ hg phase -r bbb1ce6e7cb5 --hidden --public |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
955 2 new bumped changesets |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
956 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
957 $ hg glog -r e86ee52bfd76:: |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
958 @ 32:e1e84fb7bd8c added n |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
959 | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
960 o 31:38f8157363bc added m |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
961 | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
962 | o 30:bbb1ce6e7cb5 added m and n |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
963 |/ () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
964 o 27:e86ee52bfd76 added g |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
965 | () public |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
966 ~ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
967 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
968 $ hg evolve --all --phase-divergent |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
969 recreate:[31] added m |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
970 atop:[30] added m and n |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
971 computing new diff |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
972 committed as 26c0e0acbf58 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
973 recreate:[32] added n |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
974 atop:[30] added m and n |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
975 rebasing to destination parent: e86ee52bfd76 |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
976 computing new diff |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
977 committed as 167994483a30 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
978 working directory is now at 167994483a30 |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
979 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
980 XXX: this is messy, we should solve things in better way |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
981 $ hg glog -r e86ee52bfd76:: --hidden |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
982 @ 35:167994483a30 bumped update to bbb1ce6e7cb5: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
983 | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
984 | x 34:ebca40be1c77 added n |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
985 | | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
986 +---o 33:26c0e0acbf58 bumped update to bbb1ce6e7cb5: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
987 | | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
988 | | x 32:e1e84fb7bd8c added n |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
989 | | | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
990 | | x 31:38f8157363bc added m |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
991 | |/ () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
992 o | 30:bbb1ce6e7cb5 added m and n |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
993 |/ () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
994 o 27:e86ee52bfd76 added g |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
995 | () public |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
996 ~ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
997 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
998 XXX: not sure this is the correct |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
999 $ hg exp 167994483a30 |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1000 # HG changeset patch |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1001 # User test |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1002 # Date 0 0 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1003 # Thu Jan 01 00:00:00 1970 +0000 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1004 # Node ID 167994483a3052f6ea76aa4ba54bd0d6ecd03506 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1005 # Parent bbb1ce6e7cb56a4d0ddd9b602492c1e79f2beaf5 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1006 bumped update to bbb1ce6e7cb5: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1007 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1008 added n |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1009 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1010 diff -r bbb1ce6e7cb5 -r 167994483a30 m |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1011 --- a/m Thu Jan 01 00:00:00 1970 +0000 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1012 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1013 @@ -1,1 +0,0 @@ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1014 -m |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1015 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1016 XXX: not sure this is correct |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1017 $ hg exp 26c0e0acbf58 --hidden |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1018 # HG changeset patch |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1019 # User test |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1020 # Date 0 0 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1021 # Thu Jan 01 00:00:00 1970 +0000 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1022 # Node ID 26c0e0acbf58e4bd2a2414e43b7d2d8aefdbba60 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1023 # Parent bbb1ce6e7cb56a4d0ddd9b602492c1e79f2beaf5 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1024 bumped update to bbb1ce6e7cb5: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1025 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1026 added m |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1027 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1028 diff -r bbb1ce6e7cb5 -r 26c0e0acbf58 n |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1029 --- a/n Thu Jan 01 00:00:00 1970 +0000 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1030 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1031 @@ -1,1 +0,0 @@ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1032 -n |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1033 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1034 When the public changeset is splitted across various branches |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1035 -------------------------------------------------------------- |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1036 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1037 $ echo p > p |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1038 $ echo q > q |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1039 $ hg ci -Aqm "added p and q" |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1040 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1041 $ hg prev |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1042 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1043 [35] bumped update to bbb1ce6e7cb5: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1044 $ echo p > p |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1045 $ hg ci -Aqm "added p" |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1046 $ hg prev |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1047 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1048 [35] bumped update to bbb1ce6e7cb5: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1049 $ echo q > q |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1050 $ hg ci -Aqm "added q" |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1051 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1052 $ hg glog -r 167994483a30:: |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1053 @ 38:25009377929c added q |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1054 | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1055 | o 37:a27f3cc92c8f added p |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1056 |/ () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1057 | o 36:f695c2c8812d added p and q |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1058 |/ () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1059 o 35:167994483a30 bumped update to bbb1ce6e7cb5: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1060 | () draft |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1061 ~ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1062 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1063 $ hg prune -r f695c2c8812d --succ a27f3cc92c8f --succ 25009377929c --split |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1064 1 changesets pruned |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1065 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1066 $ hg phase -r f695c2c8812d --public --hidden |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1067 2 new bumped changesets |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1068 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1069 $ hg glog -r 167994483a30:: |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1070 @ 38:25009377929c added q |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1071 | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1072 | o 37:a27f3cc92c8f added p |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1073 |/ () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1074 | o 36:f695c2c8812d added p and q |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1075 |/ () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1076 o 35:167994483a30 bumped update to bbb1ce6e7cb5: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1077 | () public |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1078 ~ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1079 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1080 $ hg evolve --list |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1081 a27f3cc92c8f: added p |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1082 bumped: f695c2c8812d (immutable precursor) |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1083 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1084 25009377929c: added q |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1085 bumped: f695c2c8812d (immutable precursor) |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1086 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1087 $ hg evolve --all --phase-divergent |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1088 recreate:[37] added p |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1089 atop:[36] added p and q |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1090 computing new diff |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1091 committed as abd19926ab01 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1092 recreate:[38] added q |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1093 atop:[36] added p and q |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1094 computing new diff |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1095 committed as 12c31db4edf9 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1096 working directory is now at 12c31db4edf9 |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1097 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1098 $ hg glog -r 167994483a30:: --hidden |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1099 @ 40:12c31db4edf9 bumped update to f695c2c8812d: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1100 | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1101 | o 39:abd19926ab01 bumped update to f695c2c8812d: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1102 |/ () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1103 | x 38:25009377929c added q |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1104 | | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1105 | | x 37:a27f3cc92c8f added p |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1106 | |/ () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1107 o | 36:f695c2c8812d added p and q |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1108 |/ () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1109 o 35:167994483a30 bumped update to bbb1ce6e7cb5: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1110 | () public |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1111 ~ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1112 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1113 XXX: not sure this is correct |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1114 $ hg exp 12c31db4edf9 |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1115 # HG changeset patch |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1116 # User test |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1117 # Date 0 0 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1118 # Thu Jan 01 00:00:00 1970 +0000 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1119 # Node ID 12c31db4edf9a889e3ce9986f484bbf939f4fb42 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1120 # Parent f695c2c8812d12a910a47440ee189e553326a1c8 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1121 bumped update to f695c2c8812d: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1122 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1123 added q |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1124 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1125 diff -r f695c2c8812d -r 12c31db4edf9 p |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1126 --- a/p Thu Jan 01 00:00:00 1970 +0000 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1127 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1128 @@ -1,1 +0,0 @@ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1129 -p |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1130 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1131 XXX: not sure this is correct |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1132 $ hg exp abd19926ab01 |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1133 # HG changeset patch |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1134 # User test |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1135 # Date 0 0 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1136 # Thu Jan 01 00:00:00 1970 +0000 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1137 # Node ID abd19926ab0109f43f38e732cfa8ae747e2e4187 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1138 # Parent f695c2c8812d12a910a47440ee189e553326a1c8 |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1139 bumped update to f695c2c8812d: |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1140 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1141 added p |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1142 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1143 diff -r f695c2c8812d -r abd19926ab01 q |
3634
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1144 --- a/q Thu Jan 01 00:00:00 1970 +0000 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1145 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1146 @@ -1,1 +0,0 @@ |
a9fed41c6bed
tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3633
diff
changeset
|
1147 -q |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1148 |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1149 Testing the evolution of a phase-divergent merge with no conflicts |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1150 ------------------------------------------------------------------ |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1151 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1152 $ hg glog -r 167994483a30:: |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1153 @ 40:12c31db4edf9 bumped update to f695c2c8812d: |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1154 | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1155 | o 39:abd19926ab01 bumped update to f695c2c8812d: |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1156 |/ () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1157 o 36:f695c2c8812d added p and q |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1158 | () public |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1159 o 35:167994483a30 bumped update to bbb1ce6e7cb5: |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1160 | () public |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1161 ~ |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1162 |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1163 $ echo h > h |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1164 $ hg ci -Aqm "added h" |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1165 $ hg prev |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1166 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1167 [40] bumped update to f695c2c8812d: |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1168 $ echo i > i |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1169 $ hg ci -Aqm "added i" |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1170 $ hg merge -r 'desc("added h")' |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1171 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1172 (branch merge, don't forget to commit) |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1173 $ hg ci -m "merge h and i" |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1174 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1175 $ hg glog -r 12c31db4edf9:: |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1176 @ 43:98ce636fa344 merge h and i |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1177 |\ () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1178 | o 42:c13ebd59dd4e added i |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1179 | | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1180 o | 41:10bb6c8a838f added h |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1181 |/ () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1182 o 40:12c31db4edf9 bumped update to f695c2c8812d: |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1183 | () draft |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1184 ~ |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1185 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1186 $ hg up 10bb6c8a838f |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1187 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1188 $ hg merge -r c13ebd59dd4e |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1189 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1190 (branch merge, don't forget to commit) |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1191 $ hg ci -m "merge h and i successor" |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1192 created new head |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1193 $ hg glog -r 12c31db4edf9:: |
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1194 @ 44:57c7c43469f2 merge h and i successor |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1195 |\ () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1196 +---o 43:98ce636fa344 merge h and i |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1197 | |/ () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1198 | o 42:c13ebd59dd4e added i |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1199 | | () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1200 o | 41:10bb6c8a838f added h |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1201 |/ () draft |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1202 o 40:12c31db4edf9 bumped update to f695c2c8812d: |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1203 | () draft |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1204 ~ |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1205 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1206 $ hg prune -r 98ce636fa344 --succ . |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1207 1 changesets pruned |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1208 |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1209 $ hg phase 98ce636fa344 --hidden --public |
3715
a77fb9669e99
test-compat: merge mercurial-4.4 into mercurial-4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3714
diff
changeset
|
1210 1 new bumped changesets |
3637
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1211 |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1212 Resolution of phase-divergent merge commit using `hg evolve` |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1213 |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1214 XXX: we should handle phase-divergent merges |
1b9c2720faee
tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3634
diff
changeset
|
1215 $ hg evolve --phase-divergent |
3716
e5ba6531503e
testcompat: update output for Mercurial 4.3
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3715
diff
changeset
|
1216 skipping 57c7c43469f2 : we do not handle merge yet |