annotate tests/test-evolve-phase-divergence.t @ 5545:56e5dc7d6319

rewind: always compute successorsmap We have had access to rewind targets (predecessors) in this function before, but having access to current successors (in the form of successorsmap) is also useful and will be used in following patches. We're emptying successorsmap when --as-divergence is given to keep the current behavior. It's done before using it for --dry-run and actual work.
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 21 Jul 2020 11:23:41 +0800
parents 452651e69848
children 011b53a9d03c c2fab88e6d60
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
4479
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4340
diff changeset
4 $ . $TESTDIR/testlib/common.sh
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4340
diff changeset
5
3617
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
6 $ cat >> $HGRCPATH <<EOF
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
7 > [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
8 > 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
9 > [extensions]
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
10 > rebase =
4479
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4340
diff changeset
11 > [extensions]
2db0aca03a88 extensions: avoid enabling evolve for unrelated repositories (issue6057)
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4340
diff changeset
12 > evolve =
3617
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
13 > EOF
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
14
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
15 Setting up a public repo
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
16 ------------------------
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
17
1150
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
18 $ hg init public
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
19 $ cd public
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
20 $ echo a > a
1417
9e7da169f66e test-evolve-bumped: add new test case for merge
Laurent Charignon <lcharignon@fb.com>
parents: 1416
diff changeset
21 $ mkcommit() {
9e7da169f66e test-evolve-bumped: add new test case for merge
Laurent Charignon <lcharignon@fb.com>
parents: 1416
diff changeset
22 > echo "$1" > "$1"
9e7da169f66e test-evolve-bumped: add new test case for merge
Laurent Charignon <lcharignon@fb.com>
parents: 1416
diff changeset
23 > hg add "$1"
9e7da169f66e test-evolve-bumped: add new test case for merge
Laurent Charignon <lcharignon@fb.com>
parents: 1416
diff changeset
24 > hg ci -m "add $1"
9e7da169f66e test-evolve-bumped: add new test case for merge
Laurent Charignon <lcharignon@fb.com>
parents: 1416
diff changeset
25 > }
1150
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
26 $ 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
27 adding a
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
28 $ cd ..
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
29
1806
9f42f819267b evolve: move the extensions to 'hgext3rd'
Pierre-Yves David <pierre-yves.david@ens-lyon.org>
parents: 1453
diff changeset
30 $ 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
31
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
32 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
33 ----------------------------------------
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
34
4448
ab5bc57ba897 tests: create "private" repository in already-updated state
Martin von Zweigbergk <martinvonz@google.com>
parents: 4340
diff changeset
35 $ hg clone public private
ab5bc57ba897 tests: create "private" repository in already-updated state
Martin von Zweigbergk <martinvonz@google.com>
parents: 4340
diff changeset
36 updating to branch default
ab5bc57ba897 tests: create "private" repository in already-updated state
Martin von Zweigbergk <martinvonz@google.com>
parents: 4340
diff changeset
37 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
1150
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
38 $ cd private
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
39 $ cat >> .hg/hgrc <<EOF
1416
b8a9d2e8c772 test-evolve-bumped: improve tests legibility
Laurent Charignon <lcharignon@fb.com>
parents: 1404
diff changeset
40 > [ui]
b8a9d2e8c772 test-evolve-bumped: improve tests legibility
Laurent Charignon <lcharignon@fb.com>
parents: 1404
diff changeset
41 > 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
42 > [phases]
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
43 > publish = false
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
44 > EOF
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
45 $ cd ..
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
46
3617
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
47 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
48 ---------------------------------------------------
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
49
1150
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
50 $ 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
51 $ cp -a private bob
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
52 $ cp -a private split
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
53 $ cp -a private split-across-branches
4456
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
54 $ cp -a private split-and-amend
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
55 $ cp -a private merge-no-conflict
1150
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
56
4495
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
57 Simple phase-divergence case
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
58 ============================
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
59
3617
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
60 Creating a phase-divergence changeset
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
61 -------------------------------------
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
62
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
63 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
64
1150
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
65 $ cd alice
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
66 $ echo a >> a
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
67 $ 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
68 $ hg push ../private
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
69 pushing to ../private
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
70 searching for changes
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
71 adding changesets
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
72 adding manifests
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
73 adding file changes
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
74 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
75 $ hg glog
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
76 @ 1:4d1169d82e47 modify a
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
77 | () draft
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
78 o 0:d3873e73d99e init
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
79 () public
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
80
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
81 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
82 changeset public
1150
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
83
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
84 $ cd ../bob
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
85 $ hg pull ../private
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
86 pulling from ../private
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
87 searching for changes
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
88 adding changesets
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
89 adding manifests
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
90 adding file changes
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
91 added 1 changesets with 1 changes to 1 files
4181
ab3581bc0637 branching: preserve the expected output on default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4165
diff changeset
92 new changesets 4d1169d82e47 (1 drafts)
1150
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
93 (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
94
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
95 $ hg glog
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
96 o 1:4d1169d82e47 modify a
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
97 | () draft
4448
ab5bc57ba897 tests: create "private" repository in already-updated state
Martin von Zweigbergk <martinvonz@google.com>
parents: 4340
diff changeset
98 @ 0:d3873e73d99e init
3617
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
99 () public
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
100
1150
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
101 $ hg push ../public
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
102 pushing to ../public
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
103 searching for changes
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
104 adding changesets
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
105 adding manifests
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
106 adding file changes
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
107 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
108
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
109 $ hg glog
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
110 o 1:4d1169d82e47 modify a
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
111 | () public
4448
ab5bc57ba897 tests: create "private" repository in already-updated state
Martin von Zweigbergk <martinvonz@google.com>
parents: 4340
diff changeset
112 @ 0:d3873e73d99e init
3617
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
113 () public
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
114
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
115 *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
116 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
117
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
118 $ cd ../alice
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
119 $ hg amend -m 'tweak a'
3618
2d8e39919742 tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3617
diff changeset
120
2d8e39919742 tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3617
diff changeset
121 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
122 $ hg pull ../public
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
123 pulling from ../public
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
124 searching for changes
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
125 no changes found
3013
945a0989e41b packaging: merge stable back into default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 3000
diff changeset
126 1 new phase-divergent changesets
3837
dda5b2134b32 tests: update tests output with changes in d0abd7949ea3 in core hg
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3786
diff changeset
127 1 local changesets published
1150
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
128
3617
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
129 $ hg glog
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
130 @ 2:98bb3a6cfe1a tweak a
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
131 | () draft
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
132 | o 1:4d1169d82e47 modify a
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
133 |/ () public
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
134 o 0:d3873e73d99e init
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
135 () public
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
136
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
137 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
138 ------------------------------------------------------
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
139
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
140 $ hg evolve --list
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
141 98bb3a6cfe1a: tweak a
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
142 phase-divergent: 4d1169d82e47 (immutable precursor)
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
143
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
144
3618
2d8e39919742 tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3617
diff changeset
145
2d8e39919742 tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3617
diff changeset
146 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
147
3618
2d8e39919742 tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3617
diff changeset
148 XXX-Pulkit: this is not helpful
2d8e39919742 tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3617
diff changeset
149
2d8e39919742 tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3617
diff changeset
150 XXX-Marmoute: public changeset "instable themself"
2d8e39919742 tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3617
diff changeset
151 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
152 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
153 $ hg evolve -r 4d1169d8 --list
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
154 4d1169d82e47: modify a
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
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
157 Understanding phasedivergence using obslog
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
158 ------------------------------------------
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
159
3618
2d8e39919742 tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3617
diff changeset
160 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
161 $ hg obslog -r . --all
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
162 @ 98bb3a6cfe1a (2) tweak a
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
163 | reworded(description) from 4d1169d82e47 using amend 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
164 |
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
165 o 4d1169d82e47 (1) modify a
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
166
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
167 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
168 --------------------------------------------------
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
169
3618
2d8e39919742 tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3617
diff changeset
170 (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
171 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
172 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
173
3617
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
174 $ hg evolve
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
175 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
176 (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
177 [2]
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
178
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
179 testing the --confirm option
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
180 $ hg evolve --phase-divergent --confirm <<EOF
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
181 > n
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
182 > EOF
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
183 recreate:[2] tweak a
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
184 atop:[1] modify a
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
185 perform evolve? [Ny] n
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
186 abort: evolve aborted by user
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
187 [255]
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
188
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
189 testing the --dry-run option
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
190
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
191 $ hg evolve --phase-divergent --dry-run
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
192 recreate:[2] tweak a
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
193 atop:[1] modify a
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
194 hg rebase --rev 98bb3a6cfe1a --dest d3873e73d99e;
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
195 hg update 4d1169d82e47;
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
196 hg revert --all --rev 98bb3a6cfe1a;
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
197 hg commit --msg "phase-divergent update to 98bb3a6cfe1a"
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
198
3618
2d8e39919742 tests: various comment on test-evolve-phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3617
diff changeset
199 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
200 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
201
4576
96ce1030d2fb tests: add --update to hg evolve to reduce test changes for the next patch
Anton Shestakov <av6@dwimlabs.net>
parents: 4498
diff changeset
202 $ hg evolve --phase-divergent --update
1150
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
203 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
204 atop:[1] modify a
4453
700b8b3a5a54 evolve: clarify output when phase-divergence resolution results in no change
Martin von Zweigbergk <martinvonz@google.com>
parents: 4452
diff changeset
205 no changes to commit
1150
2c99d92faa62 evolve: fix error during iteration over bumped changesets (bug38)
Pierre-Yves David <pierre-yves.david@fb.com>
parents:
diff changeset
206 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
207
3617
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
208 $ hg glog
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
209 @ 1:4d1169d82e47 modify a
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
210 | () public
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
211 o 0:d3873e73d99e init
a0e322641810 tests: make test-evolve-phase-divergence more descriptive
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3610
diff changeset
212 () public
3620
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
213
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
214 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
215 --------------------------------------
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
216
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
217 $ 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
218 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
219 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
220 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
221 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
222 [1]
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
223 $ 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
224 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
225 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
226 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
227 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
228 [1]
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
229 $ 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
230 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
231 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
232 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
233 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
234 [1]
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
235
4495
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
236 phase-divergence that lead to new commit and bookmark movement
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
237 ==============================================================
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
238
3620
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
239 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
240 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
241
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
242 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
243
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
244 $ 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
245 $ 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
246 $ 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
247 $ hg glog
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
248 @ 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
249 | () draft
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
250 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
251 | () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
252 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
253 () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
254
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
255 $ 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
256 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
257 searching for changes
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
258 adding changesets
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
259 adding manifests
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
260 adding file changes
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
261 added 1 changesets with 1 changes to 1 files
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
262
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
263 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
264
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
265 $ cd ../bob
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
266 $ 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
267 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
268 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
269 adding changesets
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
270 adding manifests
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
271 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
272 added 1 changesets with 1 changes to 1 files
4181
ab3581bc0637 branching: preserve the expected output on default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4165
diff changeset
273 new changesets aa071e5554e3 (1 drafts)
3620
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
274 (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
275
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
276 $ 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
277 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
278 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
279 adding changesets
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
280 adding manifests
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
281 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
282 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
283
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
284 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
285 phase-divergence
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
286
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
287 $ cd ../alice
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
288 $ 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
289 $ 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
290 $ 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
291
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
292 $ 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
293 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
294 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
295 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
296 1 new phase-divergent changesets
3837
dda5b2134b32 tests: update tests output with changes in d0abd7949ea3 in core hg
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3786
diff changeset
297 1 local changesets published
3620
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
298
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
299 $ hg glog
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
300 @ 4:d47f2b37ed82 added bar to foo
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
301 | (bm) draft
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
302 | 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
303 |/ () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
304 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
305 | () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
306 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
307 () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
308
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
309 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
310 --------------------------------------------------------------
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
311
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
312 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
313 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
314
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
315 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
316 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
317
4576
96ce1030d2fb tests: add --update to hg evolve to reduce test changes for the next patch
Anton Shestakov <av6@dwimlabs.net>
parents: 4498
diff changeset
318 $ hg evolve --phase-divergent --update
3620
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
319 recreate:[4] added bar to foo
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
320 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
321 committed as 3d62500c673d
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
322 working directory is now at 3d62500c673d
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
323
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
324 $ hg exp
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
325 # 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
326 # User test
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
327 # 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
328 # 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
329 # Node ID 3d62500c673dd1c88bb09a73e86d0210aed6fcb6
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
330 # Parent aa071e5554e36080a36cfd24accd5a71e3320f1e
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
331 phase-divergent update to aa071e5554e3:
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
332
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
333 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
334
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
335 diff -r aa071e5554e3 -r 3d62500c673d foo
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
336 --- 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
337 +++ 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
338 @@ -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
339 foo
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
340 +bar
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 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
343 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
344
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
345 $ hg glog
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
346 @ 5:3d62500c673d phase-divergent update to aa071e5554e3:
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
347 | (bm) draft
5539
452651e69848 evolvecmd: don't set `branchmerge=True` while resolving phase divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 5301
diff changeset
348 o 3:aa071e5554e3 added foo 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
349 | () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
350 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
351 | () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
352 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
353 () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
354
5275
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
355 $ hg debugobsolete
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
356 4d1169d82e47b11570c7f380790da5f89f7cabc2 98bb3a6cfe1a3d98d0959e9d42322f38313a08f3 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '1', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
357 98bb3a6cfe1a3d98d0959e9d42322f38313a08f3 0 {d3873e73d99ef67873dac33fbcc66268d5d2b6f4} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
358 aa071e5554e36080a36cfd24accd5a71e3320f1e d47f2b37ed8216234c503b3a2657989958754a59 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
359 d47f2b37ed8216234c503b3a2657989958754a59 3d62500c673dd1c88bb09a73e86d0210aed6fcb6 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
3620
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
360 $ hg obslog -r . --all
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
361 @ 3d62500c673d (5) phase-divergent update to aa071e5554e3:
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
362 | rewritten(description, parent, content) from d47f2b37ed82 using evolve 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
363 |
5539
452651e69848 evolvecmd: don't set `branchmerge=True` while resolving phase divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 5301
diff changeset
364 x d47f2b37ed82 (4) added bar to foo
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
365 | rewritten(description, content) from aa071e5554e3 using amend 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
366 |
5539
452651e69848 evolvecmd: don't set `branchmerge=True` while resolving phase divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 5301
diff changeset
367 o aa071e5554e3 (3) added foo 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
368
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
369
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
370 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
371 ------------------------------
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
372
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
373 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
374 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
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 ../bob
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 ../bob
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
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
383 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
384
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
385 $ 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
386 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
387 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
388 adding changesets
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
389 adding manifests
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
390 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
391 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
392 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
393
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
394 $ 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
395 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
396 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
397 adding changesets
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
398 adding manifests
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
399 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
400 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
401 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
402
4495
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
403
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
404 phase divergence rebasing back to old changeset - with (unrelated?) conflict
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
405 ============================================================================
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
406
3620
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
407 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
408 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
409 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
410 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
411
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
412 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
413
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
414 $ 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
415 $ 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
416 $ 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
417 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
418 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
419 adding changesets
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
420 adding manifests
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
421 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
422 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
423
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
424 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
425 $ cd ../bob
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
426
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
427 $ 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
428 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
429 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
430 adding changesets
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
431 adding manifests
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
432 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
433 added 1 changesets with 1 changes to 1 files
4181
ab3581bc0637 branching: preserve the expected output on default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4165
diff changeset
434 new changesets b756eb10ea73 (1 drafts)
3837
dda5b2134b32 tests: update tests output with changes in d0abd7949ea3 in core hg
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3786
diff changeset
435 1 local changesets published
3620
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
436 (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
437
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
438 $ 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
439 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
440 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
441 adding changesets
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
442 adding manifests
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
443 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
444 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
445
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
446 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
447
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
448 $ cd ../alice
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
449 $ 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
450 $ 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
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 pull ../public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
453 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
454 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
455 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
456 1 new phase-divergent changesets
3837
dda5b2134b32 tests: update tests output with changes in d0abd7949ea3 in core hg
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3786
diff changeset
457 1 local changesets published
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 glog
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
460 @ 7:2c3560aedead foo to bar
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
461 | (bm) draft
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
462 | o 6:b756eb10ea73 added bar to bar
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
463 |/ () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
464 o 5:3d62500c673d phase-divergent update to aa071e5554e3:
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
465 | () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
466 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
467 | () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
468 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
469 | () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
470 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
471 () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
472
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
473 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
474 ---------------------------------------------------------------
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
475
4576
96ce1030d2fb tests: add --update to hg evolve to reduce test changes for the next patch
Anton Shestakov <av6@dwimlabs.net>
parents: 4498
diff changeset
476 $ hg evolve --phase-divergent --update
3620
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
477 recreate:[7] foo to bar
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
478 atop:[6] added bar to bar
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
479 committed as 502e73736632
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
480 working directory is now at 502e73736632
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
481
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
482 $ hg exp
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
483 # 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
484 # User test
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
485 # 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
486 # 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
487 # Node ID 502e737366322886cf628276aa0a2796904453b4
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
488 # Parent b756eb10ea73ee4ba69c998e64a5c6e1005d74b5
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
489 phase-divergent update to b756eb10ea73:
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
490
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
491 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
492
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
493 diff -r b756eb10ea73 -r 502e73736632 bar
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
494 --- 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
495 +++ 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
496 @@ -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
497 -bar
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
498 +foo
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
499
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
500 $ hg glog
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
501 @ 8:502e73736632 phase-divergent update to b756eb10ea73:
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
502 | (bm) draft
5539
452651e69848 evolvecmd: don't set `branchmerge=True` while resolving phase divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 5301
diff changeset
503 o 6:b756eb10ea73 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
504 | () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
505 o 5:3d62500c673d phase-divergent update to aa071e5554e3:
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
506 | () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
507 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
508 | () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
509 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
510 | () public
1f020455f6fe tests: add more tests for handling of phase divergence by `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3619
diff changeset
511 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
512 () 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
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 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
515 ----------------------------
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 $ 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
518 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
519 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
520 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
521 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
522 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
523 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
524 2 new obsolescence markers
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
525 $ 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
526 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
527 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
528 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
529 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
530 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
531 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
532 2 new obsolescence markers
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
533
4495
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
534 different parents for successors and predecessors
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
535 =================================================
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
536
3621
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
537 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
538 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
539
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
540 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
541
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
542 $ 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
543 $ 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
544 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
545
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
546 $ 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
547 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
548 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
549 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
550 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
551 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
552 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
553
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
554 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
555 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
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 $ 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
558 $ 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
559 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
560 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
561 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
562 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
563 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
564 added 2 changesets with 2 changes to 2 files
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
565 2 new obsolescence markers
4181
ab3581bc0637 branching: preserve the expected output on default
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4165
diff changeset
566 new changesets 502e73736632:2352021b3785 (1 drafts)
3621
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
567 (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
568 $ 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
569 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
570 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
571 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
572 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
573 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
574 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
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 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
577 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
578
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
579 $ 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
580 $ hg rebase -r . -d .^^^
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
581 rebasing 9:2352021b3785 "added x to x" (bm tip)
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
582
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
583 $ 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
584 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
585 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
586 no changes found
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
587 1 new phase-divergent changesets
3837
dda5b2134b32 tests: update tests output with changes in d0abd7949ea3 in core hg
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3786
diff changeset
588 1 local changesets published
3621
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
589
5275
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
590 $ hg debugobsolete
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
591 4d1169d82e47b11570c7f380790da5f89f7cabc2 98bb3a6cfe1a3d98d0959e9d42322f38313a08f3 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '1', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
592 98bb3a6cfe1a3d98d0959e9d42322f38313a08f3 0 {d3873e73d99ef67873dac33fbcc66268d5d2b6f4} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
593 aa071e5554e36080a36cfd24accd5a71e3320f1e d47f2b37ed8216234c503b3a2657989958754a59 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
594 d47f2b37ed8216234c503b3a2657989958754a59 3d62500c673dd1c88bb09a73e86d0210aed6fcb6 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
595 b756eb10ea73ee4ba69c998e64a5c6e1005d74b5 2c3560aedeadb452d517b6c5a93fd3af91b3b8cd 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
596 2c3560aedeadb452d517b6c5a93fd3af91b3b8cd 502e737366322886cf628276aa0a2796904453b4 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
597 2352021b37851be226ebed109b0eb6eada918566 334e300d6db500489d842240cbdc40c203d385c7 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'}
3621
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
598 $ hg obslog -r .
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
599 @ 334e300d6db5 (10) added x to x
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
600 | rebased(parent) from 2352021b3785 using rebase 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
601 |
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
602 o 2352021b3785 (9) added x to x
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
603
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
604 $ hg glog -r .^::
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
605 @ 10:334e300d6db5 added x to x
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
606 | (bm) draft
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
607 | o 9:2352021b3785 added x to x
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
608 | | () public
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
609 | o 8:502e73736632 phase-divergent update to b756eb10ea73:
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
610 | | () public
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
611 | o 6:b756eb10ea73 added bar to bar
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
612 |/ () public
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
613 o 5:3d62500c673d phase-divergent update to aa071e5554e3:
3625
7e253bbac9a1 tests: show first line of commit message in test-evolve-phase-divergence.t
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3624
diff changeset
614 | () public
7e253bbac9a1 tests: show first line of commit message in test-evolve-phase-divergence.t
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3624
diff changeset
615 ~
3621
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
616
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
617 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
618 ---------------------------------------------
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
619
4576
96ce1030d2fb tests: add --update to hg evolve to reduce test changes for the next patch
Anton Shestakov <av6@dwimlabs.net>
parents: 4498
diff changeset
620 $ hg evolve --phase-divergent --update
3621
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
621 recreate:[10] added x to x
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
622 atop:[9] added x to x
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
623 rebasing to destination parent: 502e73736632
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
624 (leaving bookmark bm)
4453
700b8b3a5a54 evolve: clarify output when phase-divergence resolution results in no change
Martin von Zweigbergk <martinvonz@google.com>
parents: 4452
diff changeset
625 no changes to commit
3623
71fbb679e311 evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3621
diff changeset
626 working directory is now at 2352021b3785
3621
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
627
3623
71fbb679e311 evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3621
diff changeset
628 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
629 $ hg glog
3624
6756f2a85f5b evolve: make sure bookmarks are moved after phase-divergence resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3623
diff changeset
630 @ 9:2352021b3785 added x to x
6756f2a85f5b evolve: make sure bookmarks are moved after phase-divergence resolution
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3623
diff changeset
631 | (bm) 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
632 o 8:502e73736632 phase-divergent update to b756eb10ea73:
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
633 | () public
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
634 o 6:b756eb10ea73 added bar to bar
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
635 | () public
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
636 o 5:3d62500c673d phase-divergent update to aa071e5554e3:
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
637 | () public
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
638 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
639 | () public
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
640 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
641 | () public
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
642 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
643 () public
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
644
5275
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
645 $ hg debugobsolete
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
646 4d1169d82e47b11570c7f380790da5f89f7cabc2 98bb3a6cfe1a3d98d0959e9d42322f38313a08f3 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '1', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
647 98bb3a6cfe1a3d98d0959e9d42322f38313a08f3 0 {d3873e73d99ef67873dac33fbcc66268d5d2b6f4} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
648 aa071e5554e36080a36cfd24accd5a71e3320f1e d47f2b37ed8216234c503b3a2657989958754a59 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
649 d47f2b37ed8216234c503b3a2657989958754a59 3d62500c673dd1c88bb09a73e86d0210aed6fcb6 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
650 b756eb10ea73ee4ba69c998e64a5c6e1005d74b5 2c3560aedeadb452d517b6c5a93fd3af91b3b8cd 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
651 2c3560aedeadb452d517b6c5a93fd3af91b3b8cd 502e737366322886cf628276aa0a2796904453b4 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
652 2352021b37851be226ebed109b0eb6eada918566 334e300d6db500489d842240cbdc40c203d385c7 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
653 334e300d6db500489d842240cbdc40c203d385c7 b1a0e143e32be800ff6a5c2cd6c77823652c901b 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
654 b1a0e143e32be800ff6a5c2cd6c77823652c901b 0 {502e737366322886cf628276aa0a2796904453b4} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'}
3623
71fbb679e311 evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3621
diff changeset
655 $ hg obslog -r . b1a0e143e32b --all --hidden
3621
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
656 x b1a0e143e32b (11) added x to x
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
657 | rebased(parent) from 334e300d6db5 using evolve by test (Thu Jan 01 00:00:00 1970 +0000)
3623
71fbb679e311 evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3621
diff changeset
658 | pruned using evolve by test (Thu Jan 01 00:00:00 1970 +0000)
3621
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
659 |
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
660 x 334e300d6db5 (10) added x to x
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
661 | rebased(parent) from 2352021b3785 using rebase 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
662 |
3623
71fbb679e311 evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3621
diff changeset
663 @ 2352021b3785 (9) added x to x
3621
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
664
3623
71fbb679e311 evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3621
diff changeset
665
3621
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
666 $ 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
667 # 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
668 # 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
669 # 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
670 # Thu Jan 01 00:00:00 1970 +0000
3623
71fbb679e311 evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3621
diff changeset
671 # Node ID 2352021b37851be226ebed109b0eb6eada918566
71fbb679e311 evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3621
diff changeset
672 # Parent 502e737366322886cf628276aa0a2796904453b4
3621
db3ec5f79ab9 tests: add one more test case about handling of phase-divergence by evolve
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3620
diff changeset
673 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
674
3623
71fbb679e311 evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3621
diff changeset
675 diff -r 502e73736632 -r 2352021b3785 x
71fbb679e311 evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3621
diff changeset
676 --- /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
677 +++ 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
678 @@ -0,0 +1,1 @@
71fbb679e311 evolve: use the new rebased changeset to resolve phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3621
diff changeset
679 +x
3626
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
680
4495
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
681 divergence with parent+content change both, no conflict
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
682 =======================================================
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
683
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
684 Creating divergence with parent cand content change both but not resulting in
3626
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
685 conflicts
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
686
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
687 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
688
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
689 $ hg glog
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
690 @ 9:2352021b3785 added x to x
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
691 | (bm) public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
692 o 8:502e73736632 phase-divergent update to b756eb10ea73:
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
693 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
694 o 6:b756eb10ea73 added bar to bar
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
695 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
696 o 5:3d62500c673d phase-divergent update to aa071e5554e3:
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
697 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
698 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
699 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
700 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
701 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
702 o 0:d3873e73d99e init
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
703 () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
704
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
705 $ echo y > y
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
706 $ echo foobar >> foo
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
707 $ hg add y
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
708 $ 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
709 $ hg rebase -r . -d .^^^
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
710 rebasing 12:dc88f5aa9bc9 "y to y and foobar to foo" (tip)
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
711
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
712 $ echo foo > y
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
713 $ hg amend
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
714
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
715 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
716
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
717 $ hg phase -r dc88f5aa9bc9 --public --hidden
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
718 1 new phase-divergent changesets
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
719 $ hg glog
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
720 @ 14:13015a180eee 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
721 | () draft
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
722 | o 12:dc88f5aa9bc9 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
723 | | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
724 | o 9:2352021b3785 added x to x
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
725 | | (bm) public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
726 | o 8:502e73736632 phase-divergent update to b756eb10ea73:
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
727 |/ () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
728 o 6:b756eb10ea73 added bar to bar
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
729 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
730 o 5:3d62500c673d phase-divergent update to aa071e5554e3:
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
731 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
732 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
733 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
734 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
735 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
736 o 0:d3873e73d99e init
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
737 () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
738
5275
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
739 $ hg debugobsolete
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
740 4d1169d82e47b11570c7f380790da5f89f7cabc2 98bb3a6cfe1a3d98d0959e9d42322f38313a08f3 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '1', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
741 98bb3a6cfe1a3d98d0959e9d42322f38313a08f3 0 {d3873e73d99ef67873dac33fbcc66268d5d2b6f4} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
742 aa071e5554e36080a36cfd24accd5a71e3320f1e d47f2b37ed8216234c503b3a2657989958754a59 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
743 d47f2b37ed8216234c503b3a2657989958754a59 3d62500c673dd1c88bb09a73e86d0210aed6fcb6 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
744 b756eb10ea73ee4ba69c998e64a5c6e1005d74b5 2c3560aedeadb452d517b6c5a93fd3af91b3b8cd 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
745 2c3560aedeadb452d517b6c5a93fd3af91b3b8cd 502e737366322886cf628276aa0a2796904453b4 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
746 2352021b37851be226ebed109b0eb6eada918566 334e300d6db500489d842240cbdc40c203d385c7 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
747 334e300d6db500489d842240cbdc40c203d385c7 b1a0e143e32be800ff6a5c2cd6c77823652c901b 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
748 b1a0e143e32be800ff6a5c2cd6c77823652c901b 0 {502e737366322886cf628276aa0a2796904453b4} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
749 dc88f5aa9bc90a6418899d267d9524205dfb429b 211ab84d1689507465ecf708fea540e9867d5fda 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
750 211ab84d1689507465ecf708fea540e9867d5fda 13015a180eee523ba9950f18683762a77f560f3d 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'}
3626
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
751 $ hg obslog -r .
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
752 @ 13015a180eee (14) y to y and foobar to foo
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
753 | amended(content) from 211ab84d1689 using amend 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
754 |
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
755 x 211ab84d1689 (13) y to y and foobar to foo
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
756 | rebased(parent) from dc88f5aa9bc9 using rebase 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
757 |
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
758 o dc88f5aa9bc9 (12) 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
759
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
760 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
761 -------------------------------------
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
762
4576
96ce1030d2fb tests: add --update to hg evolve to reduce test changes for the next patch
Anton Shestakov <av6@dwimlabs.net>
parents: 4498
diff changeset
763 $ hg evolve --phase-divergent --update
3626
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
764 recreate:[14] 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
765 atop:[12] 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
766 rebasing to destination parent: 2352021b3785
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
767 committed as 8c2bb6fb44e9
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
768 working directory is now at 8c2bb6fb44e9
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 $ hg exp
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
771 # HG changeset patch
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
772 # User test
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
773 # Date 0 0
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
774 # 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
775 # Node ID 8c2bb6fb44e9443c64b3a2a3d061272c8e25e6ce
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
776 # Parent dc88f5aa9bc90a6418899d267d9524205dfb429b
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
777 phase-divergent update to dc88f5aa9bc9:
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
778
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
779 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
780
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
781 diff -r dc88f5aa9bc9 -r 8c2bb6fb44e9 y
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
782 --- 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
783 +++ 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
784 @@ -1,1 +1,1 @@
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
785 -y
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
786 +foo
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
787
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
788 $ hg glog
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
789 @ 16:8c2bb6fb44e9 phase-divergent update to dc88f5aa9bc9:
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
790 | () draft
5539
452651e69848 evolvecmd: don't set `branchmerge=True` while resolving phase divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 5301
diff changeset
791 o 12:dc88f5aa9bc9 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
792 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
793 o 9:2352021b3785 added x to x
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
794 | (bm) public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
795 o 8:502e73736632 phase-divergent update to b756eb10ea73:
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
796 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
797 o 6:b756eb10ea73 added bar to bar
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
798 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
799 o 5:3d62500c673d phase-divergent update to aa071e5554e3:
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
800 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
801 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
802 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
803 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
804 | () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
805 o 0:d3873e73d99e init
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
806 () public
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
807
4495
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
808 divergence with parent+content change both, with conflict
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
809 =========================================================
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
810
3626
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
811 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
812 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
813
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
814 $ echo l > l
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
815 $ 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
816 $ hg rebase -r . -d .^^^^
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
817 rebasing 17:f3794e5a91dc "added l to l" (tip)
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
818 $ echo kl > l
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
819 $ echo foo > x
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
820 $ hg add x
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
821 $ hg amend
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
822
5275
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
823 $ hg debugobsolete
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
824 4d1169d82e47b11570c7f380790da5f89f7cabc2 98bb3a6cfe1a3d98d0959e9d42322f38313a08f3 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '1', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
825 98bb3a6cfe1a3d98d0959e9d42322f38313a08f3 0 {d3873e73d99ef67873dac33fbcc66268d5d2b6f4} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
826 aa071e5554e36080a36cfd24accd5a71e3320f1e d47f2b37ed8216234c503b3a2657989958754a59 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
827 d47f2b37ed8216234c503b3a2657989958754a59 3d62500c673dd1c88bb09a73e86d0210aed6fcb6 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
828 b756eb10ea73ee4ba69c998e64a5c6e1005d74b5 2c3560aedeadb452d517b6c5a93fd3af91b3b8cd 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
829 2c3560aedeadb452d517b6c5a93fd3af91b3b8cd 502e737366322886cf628276aa0a2796904453b4 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
830 2352021b37851be226ebed109b0eb6eada918566 334e300d6db500489d842240cbdc40c203d385c7 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
831 334e300d6db500489d842240cbdc40c203d385c7 b1a0e143e32be800ff6a5c2cd6c77823652c901b 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
832 b1a0e143e32be800ff6a5c2cd6c77823652c901b 0 {502e737366322886cf628276aa0a2796904453b4} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
833 dc88f5aa9bc90a6418899d267d9524205dfb429b 211ab84d1689507465ecf708fea540e9867d5fda 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
834 211ab84d1689507465ecf708fea540e9867d5fda 13015a180eee523ba9950f18683762a77f560f3d 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
835 13015a180eee523ba9950f18683762a77f560f3d 7687d2968b3e2697f955beac2da24ee879950cb9 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
836 7687d2968b3e2697f955beac2da24ee879950cb9 8c2bb6fb44e9443c64b3a2a3d061272c8e25e6ce 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
837 f3794e5a91dc1d4d36fee5c423386b19433a1f48 2bfd56949cf0a3abfbf9881254a88fe07b336ddb 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
838 2bfd56949cf0a3abfbf9881254a88fe07b336ddb 5fd38c0de46ec31f0bb1904b5909802bc4bcb47e 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'}
3626
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
839 $ hg obslog -r .
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
840 @ 5fd38c0de46e (19) added l to l
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
841 | amended(content) from 2bfd56949cf0 using amend 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
842 |
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
843 x 2bfd56949cf0 (18) added l to l
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
844 | rebased(parent) from f3794e5a91dc using rebase 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
845 |
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
846 x f3794e5a91dc (17) added l to l
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
847
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
848
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
849 $ hg phase -r f3794e5a91dc --public --hidden
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
850 1 new phase-divergent changesets
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
851
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
852 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
853 ----------------------------------------------
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
854
4576
96ce1030d2fb tests: add --update to hg evolve to reduce test changes for the next patch
Anton Shestakov <av6@dwimlabs.net>
parents: 4498
diff changeset
855 $ hg evolve --phase-divergent --update
3626
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
856 recreate:[19] added l to l
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
857 atop:[17] added l to l
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
858 rebasing to destination parent: 8c2bb6fb44e9
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
859 merging x
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
860 warning: conflicts while merging x! (edit, then use 'hg resolve --mark')
4676
b6c819facbe8 evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents: 4607
diff changeset
861 unresolved merge conflicts
b6c819facbe8 evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents: 4607
diff changeset
862 (see 'hg help evolve.interrupted')
3852
629558d09898 evolve: raise error.InterventionRequired instead of Abort when conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3843
diff changeset
863 [1]
3626
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
864
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
865 $ hg diff
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
866 diff -r 8c2bb6fb44e9 l
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
867 --- /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
868 +++ 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
869 @@ -0,0 +1,1 @@
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
870 +kl
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
871 diff -r 8c2bb6fb44e9 x
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
872 --- 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
873 +++ 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
874 @@ -1,1 +1,5 @@
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
875 +<<<<<<< destination: 8c2bb6fb44e9 - test: phase-divergent update to dc88f5aa9...
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
876 x
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
877 +=======
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
878 +foo
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
879 +>>>>>>> evolving: 5fd38c0de46e - test: added l to l
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
880
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
881 $ echo foo > x
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
882
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
883 $ hg resolve -m
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
884 (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
885 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
886
170b99a9c0b4 evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3626
diff changeset
887 $ hg evolve --continue
3633
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
888 evolving 19:5fd38c0de46e "added l to l"
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
889 committed as e3090241a10c
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
890 working directory is now at e3090241a10c
3626
760210aa0d78 tests: add tests of content+parent change creating phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3625
diff changeset
891
3628
170b99a9c0b4 evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3626
diff changeset
892 $ hg glog
3633
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
893 @ 21:e3090241a10c phase-divergent update to f3794e5a91dc:
3628
170b99a9c0b4 evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3626
diff changeset
894 | () draft
5539
452651e69848 evolvecmd: don't set `branchmerge=True` while resolving phase divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 5301
diff changeset
895 o 17:f3794e5a91dc added l to l
3633
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
896 | () public
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
897 o 16:8c2bb6fb44e9 phase-divergent update to dc88f5aa9bc9:
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
898 | () public
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
899 o 12:dc88f5aa9bc9 y to y and foobar to foo
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
900 | () public
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
901 o 9:2352021b3785 added x to x
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
902 | (bm) public
3628
170b99a9c0b4 evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3626
diff changeset
903 o 8:502e73736632 phase-divergent update to b756eb10ea73:
170b99a9c0b4 evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3626
diff changeset
904 | () public
170b99a9c0b4 evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3626
diff changeset
905 o 6:b756eb10ea73 added bar to bar
170b99a9c0b4 evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3626
diff changeset
906 | () public
170b99a9c0b4 evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3626
diff changeset
907 o 5:3d62500c673d phase-divergent update to aa071e5554e3:
170b99a9c0b4 evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3626
diff changeset
908 | () public
170b99a9c0b4 evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3626
diff changeset
909 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
910 | () public
170b99a9c0b4 evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3626
diff changeset
911 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
912 | () public
170b99a9c0b4 evolve: write data to evolvestate in case on conflicts in phase-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3626
diff changeset
913 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
914 () public
3633
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
915
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
916 $ hg exp
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
917 # HG changeset patch
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
918 # User test
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
919 # Date 0 0
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
920 # 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
921 # Node ID e3090241a10c320b6132e4673915fd6b19c0de39
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
922 # Parent f3794e5a91dc1d4d36fee5c423386b19433a1f48
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
923 phase-divergent update to f3794e5a91dc:
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
924
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
925 added l to l
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
926
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
927 diff -r f3794e5a91dc -r e3090241a10c l
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
928 --- 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
929 +++ 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
930 @@ -1,1 +1,1 @@
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
931 -l
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
932 +kl
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
933 diff -r f3794e5a91dc -r e3090241a10c x
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
934 --- 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
935 +++ 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
936 @@ -1,1 +1,1 @@
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
937 -x
ed3032ee53eb evolve: handle interrupted phase-divergence resolution gracefully
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3629
diff changeset
938 +foo
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
939
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
940 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
941 ------------------------------------------------------------------------
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
942
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
943 $ hg glog -r .
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
944 @ 21:e3090241a10c phase-divergent update to f3794e5a91dc:
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
945 | () draft
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
946 ~
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
947 $ echo f > f
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
948 $ 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
949 $ echo g > g
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
950 $ 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
951
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
952 $ 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
953 2 changesets folded
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
954 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
955
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
956 $ hg evolve --list
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
957
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
958 $ hg phase -r 428f7900a969 --public --hidden
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
959 1 new phase-divergent changesets
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
960
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
961 $ hg glog -r f3794e5a91dc::
4340
5300be965515 fold: sort concatenated commit messages in topological order
Martin von Zweigbergk <martinvonz@google.com>
parents: 4181
diff changeset
962 @ 24:390acb97e50a added f
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
963 | () draft
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
964 | o 23:428f7900a969 added g
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 | o 22:21ae52e414e6 added f
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
967 |/ () public
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
968 o 21:e3090241a10c phase-divergent update to f3794e5a91dc:
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
969 | () public
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
970 o 17:f3794e5a91dc added l to l
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
971 | () public
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
972 ~
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
973
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
974 $ hg evolve --list
4340
5300be965515 fold: sort concatenated commit messages in topological order
Martin von Zweigbergk <martinvonz@google.com>
parents: 4181
diff changeset
975 390acb97e50a: added f
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
976 phase-divergent: 21ae52e414e6 (immutable precursor)
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
977 phase-divergent: 428f7900a969 (immutable precursor)
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
978
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
979 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
980
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
981 $ hg evolve --phase-divergent --all
4340
5300be965515 fold: sort concatenated commit messages in topological order
Martin von Zweigbergk <martinvonz@google.com>
parents: 4181
diff changeset
982 recreate:[24] added f
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
983 atop:[23] added g
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
984 rebasing to destination parent: 21ae52e414e6
4453
700b8b3a5a54 evolve: clarify output when phase-divergence resolution results in no change
Martin von Zweigbergk <martinvonz@google.com>
parents: 4452
diff changeset
985 no changes to commit
4577
bcd52ce0916d evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents: 4576
diff changeset
986 working directory is now at e3090241a10c
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
987
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
988 $ hg glog -r f3794e5a91dc::
4577
bcd52ce0916d evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents: 4576
diff changeset
989 o 23:428f7900a969 added g
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
990 | () public
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
991 o 22:21ae52e414e6 added f
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
992 | () public
4577
bcd52ce0916d evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents: 4576
diff changeset
993 @ 21:e3090241a10c phase-divergent update to f3794e5a91dc:
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
994 | () public
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
995 o 17:f3794e5a91dc added l to l
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
996 | () public
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
4455
b58e45aa9be2 test: use 'split' instead of 'splitted' in the tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4454
diff changeset
999 When the public changesets is split causing phase-divergence
b58e45aa9be2 test: use 'split' instead of 'splitted' in the tests
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4454
diff changeset
1000 ------------------------------------------------------------
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1001
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1002 $ cd ../split
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1003
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1004 $ echo m > m
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1005 $ echo n > n
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1006 $ 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
1007
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1008 $ hg glog
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1009 @ 1:a51bce62c219 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
1010 | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1011 o 0:d3873e73d99e init
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1012 () public
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1013
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1014 $ hg prev
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1015 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1016 [0] init
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1017 $ echo m > m
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1018 $ 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
1019 $ echo n > n
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1020 $ 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
1021
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1022 $ hg glog
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1023 @ 3:e1154ec0206a added n
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1024 | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1025 o 2:4f25cd9cd2bf added m
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1026 | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1027 | o 1:a51bce62c219 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
1028 |/ () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1029 o 0:d3873e73d99e init
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1030 () public
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1031
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1032 $ hg prune -r a51bce62c219 --succ 4f25cd9cd2bf --succ e1154ec0206a --split
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1033 1 changesets pruned
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1034
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1035 $ hg phase -r a51bce62c219 --hidden --public
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1036 2 new phase-divergent changesets
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1037
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1038 $ hg glog
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1039 @ 3:e1154ec0206a added n
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1040 | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1041 * 2:4f25cd9cd2bf added m
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1042 | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1043 | o 1:a51bce62c219 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
1044 |/ () public
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1045 o 0:d3873e73d99e init
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1046 () public
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1047
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1048 $ hg evolve --all --phase-divergent
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1049 recreate:[2] added m
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1050 atop:[1] added m and n
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1051 committed as 86419909e017
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1052 recreate:[3] added n
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1053 atop:[1] added m and n
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1054 rebasing to destination parent: d3873e73d99e
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1055 committed as 89ba615ea1ec
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1056 working directory is now at 89ba615ea1ec
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1057
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1058 XXX: this is messy, we should solve things in better way
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1059 $ hg glog --hidden
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1060 @ 6:89ba615ea1ec phase-divergent update to a51bce62c219:
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1061 | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1062 | x 5:ee4af146c5cf added n
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1063 | | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1064 +---o 4:86419909e017 phase-divergent update to a51bce62c219:
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1065 | | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1066 | | x 3:e1154ec0206a added n
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1067 | | | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1068 | | x 2:4f25cd9cd2bf added m
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1069 | |/ () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1070 o | 1:a51bce62c219 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
1071 |/ () public
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1072 o 0:d3873e73d99e init
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1073 () public
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1074
5275
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1075 $ hg debugobsolete
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1076 a51bce62c219f024bc0ae0cc0e3957ee77d7cb46 4f25cd9cd2bf15bc83316e91fbcb93489ea15a75 e1154ec0206ac05c3765f7bd1337e3b96db2974f 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'prune', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1077 4f25cd9cd2bf15bc83316e91fbcb93489ea15a75 86419909e01787959aa6471aee605c6d604a3e0d 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1078 e1154ec0206ac05c3765f7bd1337e3b96db2974f ee4af146c5cfe0b1bf7665243dd89f9bfe604f59 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1079 ee4af146c5cfe0b1bf7665243dd89f9bfe604f59 89ba615ea1ec3ba5b25db9f7897eb29712d7e5d6 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1080 $ hg obslog -r a51bce62c219 --all
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1081 o 86419909e017 (4) phase-divergent update to a51bce62c219:
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1082 | rewritten(description, parent, content) from 4f25cd9cd2bf using evolve by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1083 |
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1084 | @ 89ba615ea1ec (6) phase-divergent update to a51bce62c219:
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1085 | | rewritten(description, parent, content) from ee4af146c5cf using evolve by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1086 | |
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1087 x | 4f25cd9cd2bf (2) added m
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1088 | | split(description, parent, content) from a51bce62c219 using prune by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1089 | |
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1090 | x ee4af146c5cf (5) added n
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1091 | | rebased(parent) from e1154ec0206a using evolve by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1092 | |
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1093 | x e1154ec0206a (3) added n
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1094 |/ split(description, parent, content) from a51bce62c219 using prune by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1095 |
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1096 o a51bce62c219 (1) added m and n
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1097
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1098
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1099 XXX: not sure this is the correct
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1100 $ hg exp 89ba615ea1ec
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1101 # HG changeset patch
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1102 # User test
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1103 # Date 0 0
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1104 # Thu Jan 01 00:00:00 1970 +0000
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1105 # Node ID 89ba615ea1ec3ba5b25db9f7897eb29712d7e5d6
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1106 # Parent a51bce62c219f024bc0ae0cc0e3957ee77d7cb46
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1107 phase-divergent update to a51bce62c219:
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1108
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1109 added n
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1110
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1111 diff -r a51bce62c219 -r 89ba615ea1ec m
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1112 --- 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
1113 +++ /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
1114 @@ -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
1115 -m
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1116
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1117 XXX: not sure this is correct
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1118 $ hg exp 86419909e017
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1119 # HG changeset patch
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1120 # User test
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1121 # Date 0 0
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1122 # Thu Jan 01 00:00:00 1970 +0000
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1123 # Node ID 86419909e01787959aa6471aee605c6d604a3e0d
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1124 # Parent a51bce62c219f024bc0ae0cc0e3957ee77d7cb46
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1125 phase-divergent update to a51bce62c219:
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1126
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1127 added m
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1128
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1129 diff -r a51bce62c219 -r 86419909e017 n
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1130 --- 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
1131 +++ /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
1132 @@ -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
1133 -n
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1134
4495
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
1135 When the public changeset is split across various topological branches
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
1136 ======================================================================
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1137
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1138 $ cd ../split-across-branches
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1139
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1140 $ echo p > p
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1141 $ echo q > q
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1142 $ 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
1143
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1144 $ hg prev
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1145 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1146 [0] init
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1147 $ echo p > p
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1148 $ 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
1149 $ hg prev
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1150 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1151 [0] init
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1152 $ echo q > q
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1153 $ 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
1154
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1155 $ hg glog
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1156 @ 3:bb87595f9a77 added q
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1157 | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1158 | o 2:a47263294745 added p
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1159 |/ () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1160 | o 1:90859808ece6 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
1161 |/ () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1162 o 0:d3873e73d99e init
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1163 () public
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1164
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1165 $ hg prune -r 90859808ece6 --succ a47263294745 --succ bb87595f9a77 --split
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1166 1 changesets pruned
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1167
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1168 $ hg phase -r 90859808ece6 --public --hidden
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1169 2 new phase-divergent changesets
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1170
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1171 $ hg glog
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1172 @ 3:bb87595f9a77 added q
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1173 | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1174 | * 2:a47263294745 added p
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1175 |/ () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1176 | o 1:90859808ece6 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
1177 |/ () public
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1178 o 0:d3873e73d99e init
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1179 () public
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1180
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1181 $ hg evolve --list
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1182 a47263294745: added p
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1183 phase-divergent: 90859808ece6 (immutable precursor)
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1184
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1185 bb87595f9a77: added q
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1186 phase-divergent: 90859808ece6 (immutable precursor)
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1187
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1188 $ hg evolve --all --phase-divergent
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1189 recreate:[2] added p
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1190 atop:[1] added p and q
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1191 committed as 25875a9cb640
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1192 recreate:[3] added q
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1193 atop:[1] added p and q
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1194 committed as 26f564f94bcc
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1195 working directory is now at 26f564f94bcc
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1196
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1197 $ hg glog --hidden
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1198 @ 5:26f564f94bcc phase-divergent update to 90859808ece6:
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1199 | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1200 | o 4:25875a9cb640 phase-divergent update to 90859808ece6:
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1201 |/ () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1202 | x 3:bb87595f9a77 added q
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1203 | | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1204 | | x 2:a47263294745 added p
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1205 | |/ () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1206 o | 1:90859808ece6 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
1207 |/ () public
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1208 o 0:d3873e73d99e init
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1209 () public
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1210
5275
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1211 $ hg debugobsolete
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1212 90859808ece64c9ca64dd29992db42353c70f164 a472632947451d2e52659aec3088c98ddf920f2b bb87595f9a77d7d1e4a8726beef266a1636f63d5 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'prune', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1213 a472632947451d2e52659aec3088c98ddf920f2b 25875a9cb6400973b846c94f6a80410067c2cb1f 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1214 bb87595f9a77d7d1e4a8726beef266a1636f63d5 26f564f94bcc34e049eb112fd14ab1e5286f2325 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1215 $ hg obslog -r 90859808ece6 --all
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1216 o 25875a9cb640 (4) phase-divergent update to 90859808ece6:
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1217 | rewritten(description, parent, content) from a47263294745 using evolve by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1218 |
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1219 | @ 26f564f94bcc (5) phase-divergent update to 90859808ece6:
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1220 | | rewritten(description, parent, content) from bb87595f9a77 using evolve by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1221 | |
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1222 x | a47263294745 (2) added p
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1223 | | split(description, content) from 90859808ece6 using prune by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1224 | |
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1225 | x bb87595f9a77 (3) added q
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1226 |/ split(description, content) from 90859808ece6 using prune by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1227 |
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1228 o 90859808ece6 (1) added p and q
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1229
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1230
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1231 XXX: not sure this is correct
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1232 $ hg exp 26f564f94bcc
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1233 # HG changeset patch
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1234 # User test
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1235 # Date 0 0
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1236 # Thu Jan 01 00:00:00 1970 +0000
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1237 # Node ID 26f564f94bcc34e049eb112fd14ab1e5286f2325
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1238 # Parent 90859808ece64c9ca64dd29992db42353c70f164
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1239 phase-divergent update to 90859808ece6:
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1240
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1241 added q
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1242
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1243 diff -r 90859808ece6 -r 26f564f94bcc p
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1244 --- 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
1245 +++ /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
1246 @@ -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
1247 -p
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1248
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1249 XXX: not sure this is correct
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1250 $ hg exp 25875a9cb640
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1251 # HG changeset patch
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1252 # User test
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1253 # Date 0 0
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1254 # Thu Jan 01 00:00:00 1970 +0000
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1255 # Node ID 25875a9cb6400973b846c94f6a80410067c2cb1f
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1256 # Parent 90859808ece64c9ca64dd29992db42353c70f164
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1257 phase-divergent update to 90859808ece6:
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1258
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1259 added p
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1260
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1261 diff -r 90859808ece6 -r 25875a9cb640 q
3634
a9fed41c6bed tests: add more tests for solving phase-divergence using `hg evolve`
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3633
diff changeset
1262 --- 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
1263 +++ /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
1264 @@ -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
1265 -q
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1266
4456
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1267 When the public changeset is split and amended
4495
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
1268 ==============================================
4456
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1269
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1270 $ cd ../split-and-amend
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1271
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1272 $ echo m > m
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1273 $ echo n > n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1274 $ hg ci -Aqm "added m and n"
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1275 $ hg prev
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1276 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1277 [0] init
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1278 $ echo m > m
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1279 $ hg ci -Aqm "added m"
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1280 $ echo n > n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1281 $ hg ci -Aqm "added n"
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1282
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1283 $ hg glog
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1284 @ 3:e1154ec0206a added n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1285 | () draft
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1286 o 2:4f25cd9cd2bf added m
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1287 | () draft
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1288 | o 1:a51bce62c219 added m and n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1289 |/ () draft
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1290 o 0:d3873e73d99e init
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1291 () public
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1292
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1293 $ hg prune -r a51bce62c219 --succ 4f25cd9cd2bf --succ e1154ec0206a --split
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1294 1 changesets pruned
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1295
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1296 $ echo n2 > n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1297 $ hg amend
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1298
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1299 $ hg phase -r a51bce62c219 --public --hidden
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1300 2 new phase-divergent changesets
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1301
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1302 $ hg glog
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1303 @ 4:52ca78bb98c7 added n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1304 | () draft
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1305 * 2:4f25cd9cd2bf added m
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1306 | () draft
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1307 | o 1:a51bce62c219 added m and n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1308 |/ () public
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1309 o 0:d3873e73d99e init
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1310 () public
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1311
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1312 $ hg evolve --list
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1313 4f25cd9cd2bf: added m
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1314 phase-divergent: a51bce62c219 (immutable precursor)
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1315
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1316 52ca78bb98c7: added n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1317 phase-divergent: a51bce62c219 (immutable precursor)
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1318
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1319 $ hg evolve --all --phase-divergent
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1320 recreate:[2] added m
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1321 atop:[1] added m and n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1322 committed as 86419909e017
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1323 recreate:[4] added n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1324 atop:[1] added m and n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1325 rebasing to destination parent: d3873e73d99e
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1326 committed as 88b0dae5369a
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1327 working directory is now at 88b0dae5369a
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1328
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1329 $ hg glog --hidden
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1330 @ 7:88b0dae5369a phase-divergent update to a51bce62c219:
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1331 | () draft
5539
452651e69848 evolvecmd: don't set `branchmerge=True` while resolving phase divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 5301
diff changeset
1332 | x 6:98dad8812511 added n
4456
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1333 | | () draft
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1334 +---o 5:86419909e017 phase-divergent update to a51bce62c219:
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1335 | | () draft
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1336 | | x 4:52ca78bb98c7 added n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1337 | | | () draft
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1338 | | | x 3:e1154ec0206a added n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1339 | | |/ () draft
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1340 | | x 2:4f25cd9cd2bf added m
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1341 | |/ () draft
5539
452651e69848 evolvecmd: don't set `branchmerge=True` while resolving phase divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 5301
diff changeset
1342 o | 1:a51bce62c219 added m and n
4456
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1343 |/ () public
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1344 o 0:d3873e73d99e init
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1345 () public
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1346
5275
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1347 $ hg debugobsolete
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1348 a51bce62c219f024bc0ae0cc0e3957ee77d7cb46 4f25cd9cd2bf15bc83316e91fbcb93489ea15a75 e1154ec0206ac05c3765f7bd1337e3b96db2974f 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'prune', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1349 e1154ec0206ac05c3765f7bd1337e3b96db2974f 52ca78bb98c71222f8afae28d48ae6cfd44a60c9 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1350 4f25cd9cd2bf15bc83316e91fbcb93489ea15a75 86419909e01787959aa6471aee605c6d604a3e0d 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1351 52ca78bb98c71222f8afae28d48ae6cfd44a60c9 98dad881251146cd171f53b2a5b7fc3a371f820e 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1352 98dad881251146cd171f53b2a5b7fc3a371f820e 88b0dae5369aaa3bceb6c0b647542594e2c72fb7 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1353 $ hg obslog -r a51bce62c219 --all
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1354 o 86419909e017 (5) phase-divergent update to a51bce62c219:
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1355 | rewritten(description, parent, content) from 4f25cd9cd2bf using evolve by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1356 |
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1357 | @ 88b0dae5369a (7) phase-divergent update to a51bce62c219:
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1358 | | rewritten(description, parent, content) from 98dad8812511 using evolve by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1359 | |
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1360 x | 4f25cd9cd2bf (2) added m
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1361 | | split(description, parent, content) from a51bce62c219 using prune by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1362 | |
5539
452651e69848 evolvecmd: don't set `branchmerge=True` while resolving phase divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 5301
diff changeset
1363 | x 98dad8812511 (6) added n
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1364 | | rebased(parent) from 52ca78bb98c7 using evolve by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1365 | |
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1366 | x 52ca78bb98c7 (4) added n
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1367 | | amended(content) from e1154ec0206a using amend by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1368 | |
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1369 | x e1154ec0206a (3) added n
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1370 |/ split(description, parent, content) from a51bce62c219 using prune by test (Thu Jan 01 00:00:00 1970 +0000)
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1371 |
5539
452651e69848 evolvecmd: don't set `branchmerge=True` while resolving phase divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 5301
diff changeset
1372 o a51bce62c219 (1) added m and n
4457
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1373
218fa7c1fe4b tests: add obslog output to some tests for divergence resolution
Martin von Zweigbergk <martinvonz@google.com>
parents: 4456
diff changeset
1374
4456
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1375 XXX: not sure this is correct
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1376 $ hg exp 86419909e017
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1377 # HG changeset patch
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1378 # User test
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1379 # Date 0 0
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1380 # Thu Jan 01 00:00:00 1970 +0000
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1381 # Node ID 86419909e01787959aa6471aee605c6d604a3e0d
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1382 # Parent a51bce62c219f024bc0ae0cc0e3957ee77d7cb46
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1383 phase-divergent update to a51bce62c219:
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1384
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1385 added m
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1386
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1387 diff -r a51bce62c219 -r 86419909e017 n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1388 --- a/n Thu Jan 01 00:00:00 1970 +0000
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1389 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1390 @@ -1,1 +0,0 @@
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1391 -n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1392
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1393 XXX: not sure this is correct
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1394 $ hg exp 88b0dae5369a
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1395 # HG changeset patch
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1396 # User test
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1397 # Date 0 0
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1398 # Thu Jan 01 00:00:00 1970 +0000
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1399 # Node ID 88b0dae5369aaa3bceb6c0b647542594e2c72fb7
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1400 # Parent a51bce62c219f024bc0ae0cc0e3957ee77d7cb46
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1401 phase-divergent update to a51bce62c219:
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1402
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1403 added n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1404
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1405 diff -r a51bce62c219 -r 88b0dae5369a m
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1406 --- a/m Thu Jan 01 00:00:00 1970 +0000
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1407 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1408 @@ -1,1 +0,0 @@
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1409 -m
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1410 diff -r a51bce62c219 -r 88b0dae5369a n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1411 --- a/n Thu Jan 01 00:00:00 1970 +0000
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1412 +++ b/n Thu Jan 01 00:00:00 1970 +0000
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1413 @@ -1,1 +1,1 @@
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1414 -n
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1415 +n2
b0d755a95f6c tests: add tests for divergence resolution with split+amend
Martin von Zweigbergk <martinvonz@google.com>
parents: 4455
diff changeset
1416
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1417 Testing the evolution of a phase-divergent merge with no conflicts
4495
48e9169633ef test: cleanup title and doc phase-divergent cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4489
diff changeset
1418 ==================================================================
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1419
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1420 $ cd ../merge-no-conflict
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1421
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1422 $ echo h > h
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1423 $ hg ci -Aqm "added h"
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1424 $ hg prev
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1425 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1426 [0] init
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1427 $ echo i > i
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1428 $ hg ci -Aqm "added i"
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1429 $ hg merge -r a53d182199c1
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1430 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
1431 (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
1432 $ 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
1433
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1434 $ hg glog
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1435 @ 3:205b2f5ecb7b merge h and i
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1436 |\ () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1437 | o 2:f0be5e638ecf added i
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1438 | | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1439 o | 1:a53d182199c1 added h
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1440 |/ () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1441 o 0:d3873e73d99e init
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1442 () public
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1443
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1444 $ hg up a53d182199c1
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1445 0 files updated, 0 files merged, 1 files removed, 0 files unresolved
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1446 $ hg merge -r f0be5e638ecf
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1447 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
1448 (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
1449 $ 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
1450 created new head
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1451 $ hg glog
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1452 @ 4:8d4acf488ab5 merge h and i successor
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1453 |\ () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1454 +---o 3:205b2f5ecb7b merge h and i
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1455 | |/ () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1456 | o 2:f0be5e638ecf added i
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1457 | | () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1458 o | 1:a53d182199c1 added h
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1459 |/ () draft
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1460 o 0:d3873e73d99e init
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1461 () public
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1462
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1463 $ hg prune -r 205b2f5ecb7b --succ .
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1464 1 changesets pruned
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1465
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1466 $ hg phase 205b2f5ecb7b --hidden --public
3637
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1467 1 new phase-divergent changesets
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1468
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1469 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
1470
1b9c2720faee tests: add test about handling phase-divergent merges
Pulkit Goyal <7895pulkit@gmail.com>
parents: 3634
diff changeset
1471 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
1472 $ hg evolve --phase-divergent
4452
444e664616c7 tests: reduce dependence on previous tests for setup
Martin von Zweigbergk <martinvonz@google.com>
parents: 4448
diff changeset
1473 skipping 8d4acf488ab5 : we do not handle merge yet
4497
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1474
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1475 Check we preserve "cancelation" of changes
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1476 ==========================================
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1477
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1478 This tests case where the phase divergence changesets cancelled some of the
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1479 change made by the public predecessors. The cancellation of these changes need
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1480 to be preserved.
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1481
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1482 $ hg init cancelled-changes
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1483 $ cd cancelled-changes
4822
e50596ff2ddb tests: demonstrate too many spaces in olog -p output with word-diff
Anton Shestakov <av6@dwimlabs.net>
parents: 4676
diff changeset
1484 $ cat << EOF > .hg/hgrc
e50596ff2ddb tests: demonstrate too many spaces in olog -p output with word-diff
Anton Shestakov <av6@dwimlabs.net>
parents: 4676
diff changeset
1485 > [diff]
e50596ff2ddb tests: demonstrate too many spaces in olog -p output with word-diff
Anton Shestakov <av6@dwimlabs.net>
parents: 4676
diff changeset
1486 > word-diff = yes
e50596ff2ddb tests: demonstrate too many spaces in olog -p output with word-diff
Anton Shestakov <av6@dwimlabs.net>
parents: 4676
diff changeset
1487 > EOF
4497
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1488 $ cat << EOF > numbers
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1489 > 1
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1490 > 2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1491 > 3
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1492 > 4
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1493 > 5
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1494 > 6
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1495 > 7
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1496 > 8
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1497 > 9
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1498 > EOF
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1499 $ cat << EOF > letters
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1500 > a
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1501 > b
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1502 > c
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1503 > d
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1504 > e
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1505 > f
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1506 > g
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1507 > h
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1508 > i
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1509 > EOF
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1510 $ cat << EOF > romans
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1511 > I
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1512 > II
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1513 > III
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1514 > IV
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1515 > V
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1516 > VI
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1517 > VII
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1518 > VIII
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1519 > IX
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1520 > EOF
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1521 $ hg add numbers letters romans
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1522 $ hg commit -m root
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1523 $ cat << EOF > numbers
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1524 > 1
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1525 > 2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1526 > 3
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1527 > four
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1528 > 5
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1529 > 6
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1530 > 7
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1531 > 8
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1532 > nine
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1533 > EOF
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1534 $ cat << EOF > letters
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1535 > a
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1536 > b
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1537 > c
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1538 > D
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1539 > e
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1540 > f
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1541 > g
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1542 > h
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1543 > i
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1544 > EOF
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1545 $ hg commit -m E1
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1546 $ cat << EOF > numbers
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1547 > 1
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1548 > 2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1549 > 3
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1550 > 4
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1551 > 5
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1552 > 6
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1553 > seven
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1554 > 8
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1555 > nine
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1556 > EOF
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1557 $ cat << EOF > letters
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1558 > a
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1559 > b
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1560 > c
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1561 > d
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1562 > e
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1563 > f
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1564 > g
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1565 > h
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1566 > i
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1567 > EOF
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1568 $ cat << EOF > romans
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1569 > I
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1570 > ii
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1571 > III
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1572 > IV
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1573 > V
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1574 > VI
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1575 > VII
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1576 > VIII
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1577 > IX
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1578 > EOF
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1579 $ hg commit --amend -m E2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1580 $ hg --hidden phase --public --rev 'desc(E1)'
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1581 1 new phase-divergent changesets
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1582 $ hg log -G --patch --hidden --rev 'not desc("root")'
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1583 @ changeset: 2:599454370881
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1584 | tag: tip
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1585 ~ parent: 0:6d1fdf6de7e2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1586 user: test
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1587 date: Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1588 instability: phase-divergent
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1589 summary: E2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1590
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1591 diff -r 6d1fdf6de7e2 -r 599454370881 numbers
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1592 --- a/numbers Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1593 +++ b/numbers Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1594 @@ -4,6 +4,6 @@
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1595 4
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1596 5
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1597 6
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1598 -7
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1599 +seven
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1600 8
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1601 -9
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1602 +nine
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1603 diff -r 6d1fdf6de7e2 -r 599454370881 romans
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1604 --- a/romans Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1605 +++ b/romans Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1606 @@ -1,5 +1,5 @@
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1607 I
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1608 -II
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1609 +ii
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1610 III
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1611 IV
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1612 V
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1613
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1614 o changeset: 1:3074c7249d20
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1615 | user: test
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1616 ~ date: Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1617 summary: E1
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1618
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1619 diff -r 6d1fdf6de7e2 -r 3074c7249d20 letters
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1620 --- a/letters Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1621 +++ b/letters Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1622 @@ -1,7 +1,7 @@
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1623 a
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1624 b
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1625 c
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1626 -d
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1627 +D
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1628 e
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1629 f
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1630 g
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1631 diff -r 6d1fdf6de7e2 -r 3074c7249d20 numbers
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1632 --- a/numbers Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1633 +++ b/numbers Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1634 @@ -1,9 +1,9 @@
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1635 1
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1636 2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1637 3
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1638 -4
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1639 +four
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1640 5
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1641 6
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1642 7
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1643 8
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1644 -9
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1645 +nine
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1646
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1647 $ hg evolve --list
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1648 599454370881: E2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1649 phase-divergent: 3074c7249d20 (immutable precursor)
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1650
5275
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1651 $ hg debugobsolete
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1652 3074c7249d2023b1fff891591d7e609695cd09c2 59945437088136c5fa2f9bb8573d5d02623fe7cb 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
4497
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1653 $ hg obslog --all --patch
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1654 @ 599454370881 (2) E2
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1655 | rewritten(description, content) from 3074c7249d20 using amend by test (Thu Jan 01 00:00:00 1970 +0000)
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1656 | diff -r 3074c7249d20 -r 599454370881 changeset-description
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1657 | --- a/changeset-description
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1658 | +++ b/changeset-description
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1659 | @@ -1,1 +1,1 @@
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1660 | -E1
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1661 | +E2
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1662 |
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1663 | diff -r 3074c7249d20 -r 599454370881 letters
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1664 | --- a/letters Thu Jan 01 00:00:00 1970 +0000
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1665 | +++ b/letters Thu Jan 01 00:00:00 1970 +0000
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1666 | @@ -1,7 +1,7 @@
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1667 | a
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1668 | b
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1669 | c
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1670 | -D
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1671 | +d
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1672 | e
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1673 | f
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1674 | g
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1675 | diff -r 3074c7249d20 -r 599454370881 numbers
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1676 | --- a/numbers Thu Jan 01 00:00:00 1970 +0000
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1677 | +++ b/numbers Thu Jan 01 00:00:00 1970 +0000
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1678 | @@ -1,9 +1,9 @@
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1679 | 1
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1680 | 2
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1681 | 3
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1682 | -four
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1683 | +4
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1684 | 5
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1685 | 6
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1686 | -7
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1687 | +seven
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1688 | 8
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1689 | nine
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1690 | diff -r 3074c7249d20 -r 599454370881 romans
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1691 | --- a/romans Thu Jan 01 00:00:00 1970 +0000
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1692 | +++ b/romans Thu Jan 01 00:00:00 1970 +0000
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1693 | @@ -1,5 +1,5 @@
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1694 | I
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1695 | -II
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1696 | +ii
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1697 | III
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1698 | IV
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1699 | V
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1700 |
4497
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1701 |
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1702 o 3074c7249d20 (1) E1
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1703
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1704
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1705 $ hg evolve --phase-divergent --rev 'desc("E2")'
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1706 recreate:[2] E2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1707 atop:[1] E1
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1708 committed as 9eebcb77a7e2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1709 working directory is now at 9eebcb77a7e2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1710 $ hg export
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1711 # HG changeset patch
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1712 # User test
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1713 # Date 0 0
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1714 # Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1715 # Node ID 9eebcb77a7e2b240cb7dce095bbe608b5de91cc8
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1716 # Parent 3074c7249d2023b1fff891591d7e609695cd09c2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1717 phase-divergent update to 3074c7249d20:
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1718
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1719 E2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1720
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1721 diff -r 3074c7249d20 -r 9eebcb77a7e2 letters
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1722 --- a/letters Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1723 +++ b/letters Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1724 @@ -1,7 +1,7 @@
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1725 a
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1726 b
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1727 c
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1728 -D
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1729 +d
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1730 e
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1731 f
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1732 g
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1733 diff -r 3074c7249d20 -r 9eebcb77a7e2 numbers
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1734 --- a/numbers Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1735 +++ b/numbers Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1736 @@ -1,9 +1,9 @@
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1737 1
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1738 2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1739 3
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1740 -four
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1741 +4
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1742 5
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1743 6
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1744 -7
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1745 +seven
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1746 8
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1747 nine
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1748 diff -r 3074c7249d20 -r 9eebcb77a7e2 romans
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1749 --- a/romans Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1750 +++ b/romans Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1751 @@ -1,5 +1,5 @@
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1752 I
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1753 -II
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1754 +ii
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1755 III
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1756 IV
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1757 V
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1758 $ hg log -G --patch --rev 'not desc("root")'
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1759 @ changeset: 3:9eebcb77a7e2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1760 | tag: tip
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1761 | parent: 1:3074c7249d20
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1762 | user: test
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1763 | date: Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1764 | summary: phase-divergent update to 3074c7249d20:
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1765 |
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1766 | diff -r 3074c7249d20 -r 9eebcb77a7e2 letters
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1767 | --- a/letters Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1768 | +++ b/letters Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1769 | @@ -1,7 +1,7 @@
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1770 | a
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1771 | b
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1772 | c
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1773 | -D
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1774 | +d
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1775 | e
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1776 | f
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1777 | g
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1778 | diff -r 3074c7249d20 -r 9eebcb77a7e2 numbers
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1779 | --- a/numbers Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1780 | +++ b/numbers Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1781 | @@ -1,9 +1,9 @@
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1782 | 1
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1783 | 2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1784 | 3
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1785 | -four
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1786 | +4
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1787 | 5
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1788 | 6
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1789 | -7
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1790 | +seven
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1791 | 8
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1792 | nine
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1793 | diff -r 3074c7249d20 -r 9eebcb77a7e2 romans
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1794 | --- a/romans Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1795 | +++ b/romans Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1796 | @@ -1,5 +1,5 @@
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1797 | I
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1798 | -II
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1799 | +ii
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1800 | III
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1801 | IV
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1802 | V
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1803 |
5539
452651e69848 evolvecmd: don't set `branchmerge=True` while resolving phase divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 5301
diff changeset
1804 o changeset: 1:3074c7249d20
4497
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1805 | user: test
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1806 ~ date: Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1807 summary: E1
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1808
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1809 diff -r 6d1fdf6de7e2 -r 3074c7249d20 letters
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1810 --- a/letters Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1811 +++ b/letters Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1812 @@ -1,7 +1,7 @@
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1813 a
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1814 b
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1815 c
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1816 -d
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1817 +D
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1818 e
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1819 f
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1820 g
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1821 diff -r 6d1fdf6de7e2 -r 3074c7249d20 numbers
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1822 --- a/numbers Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1823 +++ b/numbers Thu Jan 01 00:00:00 1970 +0000
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1824 @@ -1,9 +1,9 @@
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1825 1
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1826 2
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1827 3
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1828 -4
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1829 +four
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1830 5
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1831 6
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1832 7
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1833 8
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1834 -9
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1835 +nine
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1836
5275
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1837 $ hg debugobsolete
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1838 3074c7249d2023b1fff891591d7e609695cd09c2 59945437088136c5fa2f9bb8573d5d02623fe7cb 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
417503ef667d tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents: 5244
diff changeset
1839 59945437088136c5fa2f9bb8573d5d02623fe7cb 9eebcb77a7e2b240cb7dce095bbe608b5de91cc8 1 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '13', 'operation': 'evolve', 'user': 'test'}
4497
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1840 $ hg obslog --patch
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1841 @ 9eebcb77a7e2 (3) phase-divergent update to 3074c7249d20:
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1842 | rewritten(description, parent, content) from 599454370881 using evolve by test (Thu Jan 01 00:00:00 1970 +0000)
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1843 | (No patch available, changesets rebased)
4497
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1844 |
5539
452651e69848 evolvecmd: don't set `branchmerge=True` while resolving phase divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 5301
diff changeset
1845 x 599454370881 (2) E2
5301
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1846 | rewritten(description, content) from 3074c7249d20 using amend by test (Thu Jan 01 00:00:00 1970 +0000)
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1847 | diff -r 3074c7249d20 -r 599454370881 changeset-description
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1848 | --- a/changeset-description
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1849 | +++ b/changeset-description
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1850 | @@ -1,1 +1,1 @@
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1851 | -E1
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1852 | +E2
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1853 |
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1854 | diff -r 3074c7249d20 -r 599454370881 letters
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1855 | --- a/letters Thu Jan 01 00:00:00 1970 +0000
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1856 | +++ b/letters Thu Jan 01 00:00:00 1970 +0000
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1857 | @@ -1,7 +1,7 @@
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1858 | a
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1859 | b
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1860 | c
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1861 | -D
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1862 | +d
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1863 | e
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1864 | f
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1865 | g
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1866 | diff -r 3074c7249d20 -r 599454370881 numbers
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1867 | --- a/numbers Thu Jan 01 00:00:00 1970 +0000
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1868 | +++ b/numbers Thu Jan 01 00:00:00 1970 +0000
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1869 | @@ -1,9 +1,9 @@
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1870 | 1
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1871 | 2
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1872 | 3
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1873 | -four
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1874 | +4
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1875 | 5
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1876 | 6
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1877 | -7
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1878 | +seven
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1879 | 8
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1880 | nine
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1881 | diff -r 3074c7249d20 -r 599454370881 romans
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1882 | --- a/romans Thu Jan 01 00:00:00 1970 +0000
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1883 | +++ b/romans Thu Jan 01 00:00:00 1970 +0000
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1884 | @@ -1,5 +1,5 @@
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1885 | I
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1886 | -II
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1887 | +ii
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1888 | III
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1889 | IV
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1890 | V
e8660b28bfee obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents: 5275
diff changeset
1891 |
4497
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1892 |
5539
452651e69848 evolvecmd: don't set `branchmerge=True` while resolving phase divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents: 5301
diff changeset
1893 o 3074c7249d20 (1) E1
4497
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1894
711668818508 test: introduce a more complete test for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4495
diff changeset
1895 $ cd ..
4498
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1896
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1897 Phase divergence with file removal cancelation
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1898 ==============================================
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1899
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1900 $ hg init cancel-removal
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1901 $ cd cancel-removal
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1902 $ echo a > a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1903 $ echo b > b
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1904 $ echo c > c
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1905 $ echo d > d
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1906 $ hg ci -Aqm initial
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1907
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1908 Oops, we meant to delete just 'a', but we deleted 'b' and 'c' too
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1909
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1910 $ hg rm a b c
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1911 $ hg ci -m 'delete a'
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1912 $ hg revert -r .^ b
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1913 $ hg amend
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1914 $ hg glog --hidden --patch
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1915 @ 2:0825dcee2670 delete a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1916 | () draftdiff -r 75d2b02c4a5c -r 0825dcee2670 a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1917 | --- a/a Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1918 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1919 | @@ -1,1 +0,0 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1920 | -a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1921 | diff -r 75d2b02c4a5c -r 0825dcee2670 c
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1922 | --- a/c Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1923 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1924 | @@ -1,1 +0,0 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1925 | -c
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1926 |
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1927 | x 1:dff6e52f5e41 delete a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1928 |/ () draftdiff -r 75d2b02c4a5c -r dff6e52f5e41 a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1929 | --- a/a Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1930 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1931 | @@ -1,1 +0,0 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1932 | -a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1933 | diff -r 75d2b02c4a5c -r dff6e52f5e41 b
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1934 | --- a/b Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1935 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1936 | @@ -1,1 +0,0 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1937 | -b
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1938 | diff -r 75d2b02c4a5c -r dff6e52f5e41 c
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1939 | --- a/c Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1940 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1941 | @@ -1,1 +0,0 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1942 | -c
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1943 |
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1944 o 0:75d2b02c4a5c initial
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1945 () draftdiff -r 000000000000 -r 75d2b02c4a5c a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1946 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1947 +++ b/a Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1948 @@ -0,0 +1,1 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1949 +a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1950 diff -r 000000000000 -r 75d2b02c4a5c b
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1951 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1952 +++ b/b Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1953 @@ -0,0 +1,1 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1954 +b
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1955 diff -r 000000000000 -r 75d2b02c4a5c c
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1956 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1957 +++ b/c Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1958 @@ -0,0 +1,1 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1959 +c
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1960 diff -r 000000000000 -r 75d2b02c4a5c d
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1961 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1962 +++ b/d Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1963 @@ -0,0 +1,1 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1964 +d
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1965
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1966
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1967 The public predecessors deletes'a', 'b' and 'c',
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1968 If was amended to only delete 'a', and 'c'
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1969 so the fixup should add back 'b'.
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1970
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1971 $ hg phase -p -r dff6e52f5e41 --hidden
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1972 1 new phase-divergent changesets
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1973 $ hg evolve --phase-divergent
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1974 recreate:[2] delete a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1975 atop:[1] delete a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1976 committed as 84aa492b3c37
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1977 working directory is now at 84aa492b3c37
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1978 $ hg glog --patch
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1979 @ 3:84aa492b3c37 phase-divergent update to dff6e52f5e41:
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1980 | () draftdiff -r dff6e52f5e41 -r 84aa492b3c37 b
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1981 | --- /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1982 | +++ b/b Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1983 | @@ -0,0 +1,1 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1984 | +b
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1985 |
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1986 o 1:dff6e52f5e41 delete a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1987 | () publicdiff -r 75d2b02c4a5c -r dff6e52f5e41 a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1988 | --- a/a Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1989 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1990 | @@ -1,1 +0,0 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1991 | -a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1992 | diff -r 75d2b02c4a5c -r dff6e52f5e41 b
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1993 | --- a/b Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1994 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1995 | @@ -1,1 +0,0 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1996 | -b
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1997 | diff -r 75d2b02c4a5c -r dff6e52f5e41 c
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1998 | --- a/c Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
1999 | +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2000 | @@ -1,1 +0,0 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2001 | -c
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2002 |
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2003 o 0:75d2b02c4a5c initial
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2004 () publicdiff -r 000000000000 -r 75d2b02c4a5c a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2005 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2006 +++ b/a Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2007 @@ -0,0 +1,1 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2008 +a
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2009 diff -r 000000000000 -r 75d2b02c4a5c b
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2010 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2011 +++ b/b Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2012 @@ -0,0 +1,1 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2013 +b
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2014 diff -r 000000000000 -r 75d2b02c4a5c c
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2015 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2016 +++ b/c Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2017 @@ -0,0 +1,1 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2018 +c
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2019 diff -r 000000000000 -r 75d2b02c4a5c d
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2020 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2021 +++ b/d Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2022 @@ -0,0 +1,1 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2023 +d
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2024
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2025
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2026 $ hg diff --change .
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2027 diff -r dff6e52f5e41 -r 84aa492b3c37 b
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2028 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2029 +++ b/b Thu Jan 01 00:00:00 1970 +0000
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2030 @@ -0,0 +1,1 @@
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2031 +b
99dbe605fda5 test: add file cancelation scenario for phase-divergence
Pierre-Yves David <pierre-yves.david@octobus.net>
parents: 4497
diff changeset
2032