Mercurial > evolve
annotate tests/test-evolve-content-divergent-relocation.t @ 6911:e14ae43aed88 mercurial-5.9
test-compat: merge mercurial-6.0 into mercurial-5.9
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 25 Oct 2024 16:09:37 +0400 |
parents | 53d63b608230 |
children | 1328195f76a9 |
rev | line source |
---|---|
4481
d02a7c8cdee5
test: consolidate the content-divergent test cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4424
diff
changeset
|
1 ====================================================== |
d02a7c8cdee5
test: consolidate the content-divergent test cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4424
diff
changeset
|
2 Tests the resolution of content divergence: relocation |
d02a7c8cdee5
test: consolidate the content-divergent test cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4424
diff
changeset
|
3 ====================================================== |
d02a7c8cdee5
test: consolidate the content-divergent test cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4424
diff
changeset
|
4 |
d02a7c8cdee5
test: consolidate the content-divergent test cases
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4424
diff
changeset
|
5 This file intend to cover case where changesets need to be moved to different parents |
3790
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
6 |
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
7 $ cat >> $HGRCPATH <<EOF |
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
8 > [alias] |
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
9 > glog = log -GT "{rev}:{node|short} {desc|firstline}\n ({bookmarks}) [{branch}] {phase}" |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
10 > [phases] |
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
11 > publish = False |
3790
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
12 > [extensions] |
3804
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
13 > rebase = |
3790
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
14 > EOF |
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
15 $ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH |
5b9e3aaa6da8
evolve: prompt user for branch selection while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
16 |
3804
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
17 |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
18 Testing resolution of content-divergent changesets when they are on different |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
19 parents and resolution and relocation wont result in conflicts |
3804
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
20 ------------------------------------------------------------------------------ |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
21 |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
22 $ hg init multiparents |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
23 $ cd multiparents |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
24 $ echo ".*\.orig" > .hgignore |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
25 $ hg add .hgignore |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
26 $ hg ci -m "added hgignore" |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
27 $ for ch in a b c d; do echo foo > $ch; hg add $ch; hg ci -qm "added "$ch; done; |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
28 |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
29 $ hg glog |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
30 @ 4:c41c793e0ef1 added d |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
31 | () [default] draft |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
32 o 3:ca1b80f7960a added c |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
33 | () [default] draft |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
34 o 2:b1661037fa25 added b |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
35 | () [default] draft |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
36 o 1:c7586e2a9264 added a |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
37 | () [default] draft |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
38 o 0:8fa14d15e168 added hgignore |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
39 () [default] draft |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
40 |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
41 $ hg up .^^ |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
42 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
43 $ echo bar > b |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
44 $ hg amend |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
45 2 new orphan changesets |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
46 |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
47 $ hg rebase -r b1661037fa25 -d 8fa14d15e168 --hidden --config experimental.evolution.allowdivergence=True |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
48 rebasing 2:b1661037fa25 "added b" |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
49 2 new content-divergent changesets |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
50 |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
51 $ hg glog |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
52 * 6:da4b96f4a8d6 added b |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
53 | () [default] draft |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
54 | @ 5:7ed0642d644b added b |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
55 | | () [default] draft |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
56 | | * 4:c41c793e0ef1 added d |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
57 | | | () [default] draft |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
58 | | * 3:ca1b80f7960a added c |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
59 | | | () [default] draft |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
60 | | x 2:b1661037fa25 added b |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
61 | |/ () [default] draft |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
62 | o 1:c7586e2a9264 added a |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
63 |/ () [default] draft |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
64 o 0:8fa14d15e168 added hgignore |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
65 () [default] draft |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
66 |
5728
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
67 In this case, we have two divergent changeset: |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
68 - one did not changed parent |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
69 - the other did changed parent |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
70 |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
71 So we can do a 3 way merges merges. on one side we have changes (the parent |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
72 change) and on the other one we don't, we should apply the change. |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
73 |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
74 $ hg evolve --list --rev 'contentdivergent()' |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
75 7ed0642d644b: added b |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
76 content-divergent: da4b96f4a8d6 (draft) (precursor b1661037fa25) |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
77 |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
78 da4b96f4a8d6: added b |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
79 content-divergent: 7ed0642d644b (draft) (precursor b1661037fa25) |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
80 |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
81 |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
82 $ hg glog --hidden --rev '::(7ed0642d644b+da4b96f4a8d6+b1661037fa25)' |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
83 * 6:da4b96f4a8d6 added b |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
84 | () [default] draft |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
85 | @ 5:7ed0642d644b added b |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
86 | | () [default] draft |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
87 | | x 2:b1661037fa25 added b |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
88 | |/ () [default] draft |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
89 | o 1:c7586e2a9264 added a |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
90 |/ () [default] draft |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
91 o 0:8fa14d15e168 added hgignore |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
92 () [default] draft |
6dbfd71cdcba
divergence-resolution: clarify some test case
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
5666
diff
changeset
|
93 |
3804
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
94 $ hg evolve --content-divergent |
3805
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
95 merge:[5] added b |
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
96 with: [6] added b |
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
97 base: [2] added b |
5730
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
98 rebasing "divergent" content-divergent changeset 7ed0642d644b on 8fa14d15e168 |
3805
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
99 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
100 working directory is now at bd76a775c527 |
3804
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
101 |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
102 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
103 @ 8:bd76a775c527 added b |
3804
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
104 | () [default] draft |
3805
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
105 | * 4:c41c793e0ef1 added d |
3804
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
106 | | () [default] draft |
3805
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
107 | * 3:ca1b80f7960a added c |
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
108 | | () [default] draft |
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
109 | x 2:b1661037fa25 added b |
5730
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
110 | | () [default] draft |
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
111 | o 1:c7586e2a9264 added a |
3804
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
112 |/ () [default] draft |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
113 o 0:8fa14d15e168 added hgignore |
509b1e66f0b9
tests: add tests for resolving content-divergence with parent change
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3802
diff
changeset
|
114 () [default] draft |
3805
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
115 |
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
116 $ hg exp |
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
117 # HG changeset patch |
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
118 # User test |
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
119 # Date 0 0 |
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
120 # Thu Jan 01 00:00:00 1970 +0000 |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
121 # Node ID bd76a775c52744611afa76b4980e0b46a7a105f5 |
5730
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
122 # Parent 8fa14d15e1684a9720b1b065aba9d5ea51024cb2 |
3805
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
123 added b |
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
124 |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
125 diff -r 8fa14d15e168 -r bd76a775c527 b |
3805
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
126 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
127 +++ b/b Thu Jan 01 00:00:00 1970 +0000 |
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
128 @@ -0,0 +1,1 @@ |
2410e7063692
evolve: implement resolution of content-divergence when on differet parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3804
diff
changeset
|
129 +bar |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
130 |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
131 $ hg debugobsolete |
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
132 b1661037fa25511d0b7ccddf405e336f9d7d3424 7ed0642d644bb9ad93d252dd9ffe7b4729febe48 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'} |
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
133 b1661037fa25511d0b7ccddf405e336f9d7d3424 da4b96f4a8d610a85b225583138f681d67e275dd 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'} |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
134 7ed0642d644bb9ad93d252dd9ffe7b4729febe48 df708ef51071b9b7932664cb88742483ffa6c0af 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
135 df708ef51071b9b7932664cb88742483ffa6c0af bd76a775c52744611afa76b4980e0b46a7a105f5 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
136 da4b96f4a8d610a85b225583138f681d67e275dd bd76a775c52744611afa76b4980e0b46a7a105f5 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'evolve', 'user': 'test'} |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
137 $ hg obslog --all |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
138 @ bd76a775c527 (8) added b |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
139 |\ amended(content) from da4b96f4a8d6 using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
140 | | rewritten from df708ef51071 using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
141 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
142 x | da4b96f4a8d6 (6) added b |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
143 | | rebased(parent) from b1661037fa25 using rebase by test (Thu Jan 01 00:00:00 1970 +0000) |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
144 | | |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
145 | x df708ef51071 (7) added b |
5730
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
146 | | rebased(parent) from 7ed0642d644b using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
147 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
148 | x 7ed0642d644b (5) added b |
5730
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
149 |/ amended(content) from b1661037fa25 using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
150 | |
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
151 x b1661037fa25 (2) added b |
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
152 |
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
153 |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
154 Resolving orphans to get back to a normal graph |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
155 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
156 $ hg evolve --all |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
157 move:[3] added c |
3846
f9dad99a90d5
evolve: create a new commit instead of amending one of the divergents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3845
diff
changeset
|
158 atop:[8] added b |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
159 move:[4] added d |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
160 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
161 o 10:44c908a29dde added d |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
162 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
163 o 9:905d3f000de6 added c |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
164 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
165 @ 8:bd76a775c527 added b |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
166 | () [default] draft |
5730
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
167 | o 1:c7586e2a9264 added a |
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
168 |/ () [default] draft |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
169 o 0:8fa14d15e168 added hgignore |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
170 () [default] draft |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
171 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
172 More testing! |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
173 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
174 $ echo x > x |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
175 $ hg ci -Aqm "added x" |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
176 $ hg glog -r . |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
177 @ 11:2eea3a452f03 added x |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
178 | () [default] draft |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
179 ~ |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
180 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
181 $ echo foo > x |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
182 $ hg branch bar |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
183 marked working directory as branch bar |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
184 (branches are permanent and global, did you want a bookmark?) |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
185 $ hg amend -m "added foo to x" |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
186 |
5277
304de9a04172
tests: avoid referring to commits by hash in a few places
Martin von Zweigbergk <martinvonz@google.com>
parents:
5276
diff
changeset
|
187 $ hg up 'predecessors(.)' --hidden |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
188 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
189 updated to hidden changeset 2eea3a452f03 |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
190 (hidden revision '2eea3a452f03' was rewritten as: f9c46439290c) |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
191 working directory parent is obsolete! (2eea3a452f03) |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
192 (use 'hg evolve' to update to its successor: f9c46439290c) |
5277
304de9a04172
tests: avoid referring to commits by hash in a few places
Martin von Zweigbergk <martinvonz@google.com>
parents:
5276
diff
changeset
|
193 $ hg rebase -r . -d 'desc("added d")' --config experimental.evolution.allowdivergence=True |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
194 rebasing 11:2eea3a452f03 "added x" |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
195 2 new content-divergent changesets |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
196 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
197 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
198 @ 13:03d7f147ff42 added x |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
199 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
200 | * 12:f9c46439290c added foo to x |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
201 | | () [bar] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
202 o | 10:44c908a29dde added d |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
203 | | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
204 o | 9:905d3f000de6 added c |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
205 |/ () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
206 o 8:bd76a775c527 added b |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
207 | () [default] draft |
5730
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
208 | o 1:c7586e2a9264 added a |
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
209 |/ () [default] draft |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
210 o 0:8fa14d15e168 added hgignore |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
211 () [default] draft |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
212 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
213 $ hg evolve --content-divergent |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
214 merge:[12] added foo to x |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
215 with: [13] added x |
3846
f9dad99a90d5
evolve: create a new commit instead of amending one of the divergents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3845
diff
changeset
|
216 base: [11] added x |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
217 rebasing "divergent" content-divergent changeset f9c46439290c on 44c908a29dde |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
218 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
219 working directory is now at 60f40a789d85 |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
220 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
221 $ hg exp |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
222 # HG changeset patch |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
223 # User test |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
224 # Date 0 0 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
225 # Thu Jan 01 00:00:00 1970 +0000 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
226 # Branch bar |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
227 # Node ID 60f40a789d85a42549e1e10c27779cfb5d5e1e1c |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
228 # Parent 44c908a29dde4b2a7fd1fa5714177b99a2423bbb |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
229 added foo to x |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
230 |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
231 diff -r 44c908a29dde -r 60f40a789d85 x |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
232 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
233 +++ b/x Thu Jan 01 00:00:00 1970 +0000 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
234 @@ -0,0 +1,1 @@ |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
235 +foo |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
236 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
237 The above `hg exp` and the following log call demonstrates that message, content |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
238 and branch change is preserved in case of relocation |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
239 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
240 @ 15:60f40a789d85 added foo to x |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
241 | () [bar] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
242 o 10:44c908a29dde added d |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
243 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
244 o 9:905d3f000de6 added c |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
245 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
246 o 8:bd76a775c527 added b |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
247 | () [default] draft |
5730
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
248 | o 1:c7586e2a9264 added a |
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
249 |/ () [default] draft |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
250 o 0:8fa14d15e168 added hgignore |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
251 () [default] draft |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
252 |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
253 $ hg debugobsolete |
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
254 b1661037fa25511d0b7ccddf405e336f9d7d3424 7ed0642d644bb9ad93d252dd9ffe7b4729febe48 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'} |
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
255 b1661037fa25511d0b7ccddf405e336f9d7d3424 da4b96f4a8d610a85b225583138f681d67e275dd 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'} |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
256 7ed0642d644bb9ad93d252dd9ffe7b4729febe48 df708ef51071b9b7932664cb88742483ffa6c0af 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
257 df708ef51071b9b7932664cb88742483ffa6c0af bd76a775c52744611afa76b4980e0b46a7a105f5 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
258 da4b96f4a8d610a85b225583138f681d67e275dd bd76a775c52744611afa76b4980e0b46a7a105f5 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
259 ca1b80f7960aae2306287bab52b4090c59af8c29 905d3f000de6ac0cdca8ed4bd222bf08ddb4b6d4 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
260 c41c793e0ef1ddb463e85ea9491e377d01127ba2 44c908a29dde4b2a7fd1fa5714177b99a2423bbb 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
261 2eea3a452f0362f367aa8a45ffc2ebec52971c3d f9c46439290cf371c88424caaefc92398d808666 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '73', 'operation': 'amend', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
262 2eea3a452f0362f367aa8a45ffc2ebec52971c3d 03d7f147ff4243d7ac83eba7047ab8847da35c91 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
263 f9c46439290cf371c88424caaefc92398d808666 45cdf781a3eac63e762b68047e0beee60a47a805 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
264 45cdf781a3eac63e762b68047e0beee60a47a805 60f40a789d85a42549e1e10c27779cfb5d5e1e1c 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
265 03d7f147ff4243d7ac83eba7047ab8847da35c91 60f40a789d85a42549e1e10c27779cfb5d5e1e1c 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '73', 'operation': 'evolve', 'user': 'test'} |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
266 $ hg obslog --all |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
267 @ 60f40a789d85 (15) added foo to x |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
268 |\ rewritten(description, branch, content) from 03d7f147ff42 using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
269 | | rewritten from 45cdf781a3ea using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
270 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
271 x | 03d7f147ff42 (13) added x |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
272 | | rebased(parent) from 2eea3a452f03 using rebase by test (Thu Jan 01 00:00:00 1970 +0000) |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
273 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
274 | x 45cdf781a3ea (14) added foo to x |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
275 | | rebased(parent) from f9c46439290c using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
276 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
277 | x f9c46439290c (12) added foo to x |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
278 |/ rewritten(description, branch, content) from 2eea3a452f03 using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
279 | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
280 x 2eea3a452f03 (11) added x |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
281 |
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
282 |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
283 Testing when both the content-divergence are on different parents and resolution |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
284 will lead to conflicts |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
285 --------------------------------------------------------------------------------- |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
286 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
287 $ hg up .^^^ |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
288 0 files updated, 0 files merged, 3 files removed, 0 files unresolved |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
289 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
290 $ echo y > y |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
291 $ hg ci -Aqm "added y" |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
292 $ hg glog -r . |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
293 @ 16:6cba24390b74 added y |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
294 | () [default] draft |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
295 ~ |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
296 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
297 $ echo bar > y |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
298 $ hg amend |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
299 |
5277
304de9a04172
tests: avoid referring to commits by hash in a few places
Martin von Zweigbergk <martinvonz@google.com>
parents:
5276
diff
changeset
|
300 $ hg up 'predecessors(.)' --hidden |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
301 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
302 updated to hidden changeset 6cba24390b74 |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
303 (hidden revision '6cba24390b74' was rewritten as: 347339f712be) |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
304 working directory parent is obsolete! (6cba24390b74) |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
305 (use 'hg evolve' to update to its successor: 347339f712be) |
5277
304de9a04172
tests: avoid referring to commits by hash in a few places
Martin von Zweigbergk <martinvonz@google.com>
parents:
5276
diff
changeset
|
306 $ hg rebase -r . -d 'desc("added foo to x")' --config experimental.evolution.allowdivergence=True |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
307 rebasing 16:6cba24390b74 "added y" |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
308 2 new content-divergent changesets |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
309 $ echo wat > y |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
310 $ hg amend |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
311 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
312 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
313 @ 19:7734a6171413 added y |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
314 | () [bar] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
315 | * 17:347339f712be added y |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
316 | | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
317 o | 15:60f40a789d85 added foo to x |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
318 | | () [bar] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
319 o | 10:44c908a29dde added d |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
320 | | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
321 o | 9:905d3f000de6 added c |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
322 |/ () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
323 o 8:bd76a775c527 added b |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
324 | () [default] draft |
5730
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
325 | o 1:c7586e2a9264 added a |
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
326 |/ () [default] draft |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
327 o 0:8fa14d15e168 added hgignore |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
328 () [default] draft |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
329 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
330 $ hg evolve --content-divergent |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
331 merge:[17] added y |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
332 with: [19] added y |
3846
f9dad99a90d5
evolve: create a new commit instead of amending one of the divergents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3845
diff
changeset
|
333 base: [16] added y |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
334 rebasing "divergent" content-divergent changeset 347339f712be on 60f40a789d85 |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
335 merging y |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
336 warning: conflicts while merging y! (edit, then use 'hg resolve --mark') |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
337 0 files updated, 0 files merged, 0 files removed, 1 files unresolved |
4676
b6c819facbe8
evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents:
4633
diff
changeset
|
338 unresolved merge conflicts |
b6c819facbe8
evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents:
4633
diff
changeset
|
339 (see 'hg help evolve.interrupted') |
5666
e5d91fd1f319
tests: update with more detailed exit codes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5647
diff
changeset
|
340 [240] |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
341 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
342 $ echo watbar > y |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
343 $ hg resolve -m |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
344 (no more unresolved files) |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
345 continue: hg evolve --continue |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
346 $ hg evolve --continue |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
347 working directory is now at a1a5f649aad4 |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
348 |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
349 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
350 @ 21:a1a5f649aad4 added y |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
351 | () [bar] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
352 o 15:60f40a789d85 added foo to x |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
353 | () [bar] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
354 o 10:44c908a29dde added d |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
355 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
356 o 9:905d3f000de6 added c |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
357 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
358 o 8:bd76a775c527 added b |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
359 | () [default] draft |
5730
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
360 | o 1:c7586e2a9264 added a |
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
361 |/ () [default] draft |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
362 o 0:8fa14d15e168 added hgignore |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
363 () [default] draft |
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
364 |
5275
417503ef667d
tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents:
5123
diff
changeset
|
365 $ hg debugobsolete |
417503ef667d
tests: add debugobsolete calls before many obslog calls
Martin von Zweigbergk <martinvonz@google.com>
parents:
5123
diff
changeset
|
366 b1661037fa25511d0b7ccddf405e336f9d7d3424 7ed0642d644bb9ad93d252dd9ffe7b4729febe48 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:
5123
diff
changeset
|
367 b1661037fa25511d0b7ccddf405e336f9d7d3424 da4b96f4a8d610a85b225583138f681d67e275dd 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'} |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
368 7ed0642d644bb9ad93d252dd9ffe7b4729febe48 df708ef51071b9b7932664cb88742483ffa6c0af 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
369 df708ef51071b9b7932664cb88742483ffa6c0af bd76a775c52744611afa76b4980e0b46a7a105f5 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
370 da4b96f4a8d610a85b225583138f681d67e275dd bd76a775c52744611afa76b4980e0b46a7a105f5 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
371 ca1b80f7960aae2306287bab52b4090c59af8c29 905d3f000de6ac0cdca8ed4bd222bf08ddb4b6d4 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
372 c41c793e0ef1ddb463e85ea9491e377d01127ba2 44c908a29dde4b2a7fd1fa5714177b99a2423bbb 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
373 2eea3a452f0362f367aa8a45ffc2ebec52971c3d f9c46439290cf371c88424caaefc92398d808666 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '73', 'operation': 'amend', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
374 2eea3a452f0362f367aa8a45ffc2ebec52971c3d 03d7f147ff4243d7ac83eba7047ab8847da35c91 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
375 f9c46439290cf371c88424caaefc92398d808666 45cdf781a3eac63e762b68047e0beee60a47a805 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
376 45cdf781a3eac63e762b68047e0beee60a47a805 60f40a789d85a42549e1e10c27779cfb5d5e1e1c 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
377 03d7f147ff4243d7ac83eba7047ab8847da35c91 60f40a789d85a42549e1e10c27779cfb5d5e1e1c 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '73', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
378 6cba24390b749067bef92c44e0288e6f554bfb37 347339f712becdde80c9ad13d22a497db6086d90 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
379 6cba24390b749067bef92c44e0288e6f554bfb37 24f8adc447ef80b160e63ae48688e98cb737166f 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '68', 'operation': 'rebase', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
380 24f8adc447ef80b160e63ae48688e98cb737166f 7734a6171413c2df9c39102accf4bc21cbc5bd9a 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
381 347339f712becdde80c9ad13d22a497db6086d90 6f720dea6f607e618f51c0cf1b07f8415de5e23e 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
382 6f720dea6f607e618f51c0cf1b07f8415de5e23e a1a5f649aad404acfddaa979465e96581c2ce0fb 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '72', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
383 7734a6171413c2df9c39102accf4bc21cbc5bd9a a1a5f649aad404acfddaa979465e96581c2ce0fb 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'evolve', 'user': 'test'} |
3807
03ccdc753582
evolve: commit the transaction if conflicts occur while merging content-div
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3806
diff
changeset
|
384 $ hg obslog -r . --all |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
385 @ a1a5f649aad4 (21) added y |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
386 |\ rewritten(branch, content) from 6f720dea6f60 using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
387 | | amended(content) from 7734a6171413 using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
388 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
389 x | 6f720dea6f60 (20) added y |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
390 | | rebased(parent) from 347339f712be using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
3809
f06ff8fee2f6
evolvestate: store info about relocation while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3807
diff
changeset
|
391 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
392 | x 7734a6171413 (19) added y |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
393 | | amended(content) from 24f8adc447ef using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
394 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
395 | x 24f8adc447ef (18) added y |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
396 | | rewritten(branch, parent) from 6cba24390b74 using rebase by test (Thu Jan 01 00:00:00 1970 +0000) |
3809
f06ff8fee2f6
evolvestate: store info about relocation while resolving content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3807
diff
changeset
|
397 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
398 x | 347339f712be (17) added y |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
399 |/ amended(content) from 6cba24390b74 using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
3807
03ccdc753582
evolve: commit the transaction if conflicts occur while merging content-div
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3806
diff
changeset
|
400 | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
401 x 6cba24390b74 (16) added y |
3807
03ccdc753582
evolve: commit the transaction if conflicts occur while merging content-div
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3806
diff
changeset
|
402 |
03ccdc753582
evolve: commit the transaction if conflicts occur while merging content-div
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3806
diff
changeset
|
403 |
3806
99469bb3854e
tests: add tests for resolving content-divergence when different parents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3805
diff
changeset
|
404 checking that relocated commit is there |
5277
304de9a04172
tests: avoid referring to commits by hash in a few places
Martin von Zweigbergk <martinvonz@google.com>
parents:
5276
diff
changeset
|
405 $ hg exp 20 --hidden |
3807
03ccdc753582
evolve: commit the transaction if conflicts occur while merging content-div
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3806
diff
changeset
|
406 # HG changeset patch |
03ccdc753582
evolve: commit the transaction if conflicts occur while merging content-div
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3806
diff
changeset
|
407 # User test |
03ccdc753582
evolve: commit the transaction if conflicts occur while merging content-div
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3806
diff
changeset
|
408 # Date 0 0 |
03ccdc753582
evolve: commit the transaction if conflicts occur while merging content-div
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3806
diff
changeset
|
409 # Thu Jan 01 00:00:00 1970 +0000 |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
410 # Node ID 6f720dea6f607e618f51c0cf1b07f8415de5e23e |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
411 # Parent 60f40a789d85a42549e1e10c27779cfb5d5e1e1c |
3807
03ccdc753582
evolve: commit the transaction if conflicts occur while merging content-div
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3806
diff
changeset
|
412 added y |
03ccdc753582
evolve: commit the transaction if conflicts occur while merging content-div
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3806
diff
changeset
|
413 |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
414 diff -r 60f40a789d85 -r 6f720dea6f60 y |
3807
03ccdc753582
evolve: commit the transaction if conflicts occur while merging content-div
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3806
diff
changeset
|
415 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
03ccdc753582
evolve: commit the transaction if conflicts occur while merging content-div
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3806
diff
changeset
|
416 +++ b/y Thu Jan 01 00:00:00 1970 +0000 |
03ccdc753582
evolve: commit the transaction if conflicts occur while merging content-div
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3806
diff
changeset
|
417 @@ -0,0 +1,1 @@ |
03ccdc753582
evolve: commit the transaction if conflicts occur while merging content-div
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3806
diff
changeset
|
418 +bar |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
419 |
4406
450487b4e1a3
tests: update the title of a test as it's not what it says
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4181
diff
changeset
|
420 Testing when the relocation will result in conflicts and merging also: |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
421 ---------------------------------------------------------------------- |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
422 |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
423 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
424 @ 21:a1a5f649aad4 added y |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
425 | () [bar] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
426 o 15:60f40a789d85 added foo to x |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
427 | () [bar] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
428 o 10:44c908a29dde added d |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
429 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
430 o 9:905d3f000de6 added c |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
431 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
432 o 8:bd76a775c527 added b |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
433 | () [default] draft |
5730
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
434 | o 1:c7586e2a9264 added a |
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
435 |/ () [default] draft |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
436 o 0:8fa14d15e168 added hgignore |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
437 () [default] draft |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
438 |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
439 $ hg up .^^^^ |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
440 0 files updated, 0 files merged, 4 files removed, 0 files unresolved |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
441 |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
442 $ echo z > z |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
443 $ hg ci -Aqm "added z" |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
444 $ hg glog -r . |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
445 @ 22:e308b18e59ab added z |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
446 | () [default] draft |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
447 ~ |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
448 |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
449 $ echo foo > y |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
450 $ hg add y |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
451 $ hg amend |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
452 |
5277
304de9a04172
tests: avoid referring to commits by hash in a few places
Martin von Zweigbergk <martinvonz@google.com>
parents:
5276
diff
changeset
|
453 $ hg up 'predecessors(.)' --hidden |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
454 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
455 updated to hidden changeset e308b18e59ab |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
456 (hidden revision 'e308b18e59ab' was rewritten as: 20885f9c4458) |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
457 working directory parent is obsolete! (e308b18e59ab) |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
458 (use 'hg evolve' to update to its successor: 20885f9c4458) |
5277
304de9a04172
tests: avoid referring to commits by hash in a few places
Martin von Zweigbergk <martinvonz@google.com>
parents:
5276
diff
changeset
|
459 $ hg rebase -r . -d 'desc("added y")' --config experimental.evolution.allowdivergence=True |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
460 rebasing 22:e308b18e59ab "added z" |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
461 2 new content-divergent changesets |
3811
3273b178c202
evolve: store the evolvestate if relocation results in conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3810
diff
changeset
|
462 $ echo bar > z |
3273b178c202
evolve: store the evolvestate if relocation results in conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3810
diff
changeset
|
463 $ hg amend |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
464 |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
465 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
466 @ 25:85cb29df3b9e added z |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
467 | () [bar] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
468 | * 23:20885f9c4458 added z |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
469 | | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
470 o | 21:a1a5f649aad4 added y |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
471 | | () [bar] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
472 o | 15:60f40a789d85 added foo to x |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
473 | | () [bar] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
474 o | 10:44c908a29dde added d |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
475 | | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
476 o | 9:905d3f000de6 added c |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
477 |/ () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
478 o 8:bd76a775c527 added b |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
479 | () [default] draft |
5730
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
480 | o 1:c7586e2a9264 added a |
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
481 |/ () [default] draft |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
482 o 0:8fa14d15e168 added hgignore |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
483 () [default] draft |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
484 |
4407
7fd0cbf6190d
evolve: change in a test which demonstrate divergence resolution can break
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4406
diff
changeset
|
485 $ hg evolve --content-divergent --any |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
486 merge:[23] added z |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
487 with: [25] added z |
3846
f9dad99a90d5
evolve: create a new commit instead of amending one of the divergents
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3845
diff
changeset
|
488 base: [22] added z |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
489 rebasing "divergent" content-divergent changeset 20885f9c4458 on a1a5f649aad4 |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
490 merging y |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
491 warning: conflicts while merging y! (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:
4633
diff
changeset
|
492 unresolved merge conflicts |
b6c819facbe8
evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents:
4633
diff
changeset
|
493 (see 'hg help evolve.interrupted') |
5666
e5d91fd1f319
tests: update with more detailed exit codes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5647
diff
changeset
|
494 [240] |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
495 |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
496 $ hg diff |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
497 diff -r a1a5f649aad4 y |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
498 --- a/y Thu Jan 01 00:00:00 1970 +0000 |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
499 +++ b/y Thu Jan 01 00:00:00 1970 +0000 |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
500 @@ -1,1 +1,5 @@ |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
501 +<<<<<<< destination: a1a5f649aad4 bar - test: added y |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
502 watbar |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
503 +======= |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
504 +foo |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
505 +>>>>>>> evolving: 20885f9c4458 - test: added z |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
506 diff -r a1a5f649aad4 z |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
507 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
508 +++ b/z Thu Jan 01 00:00:00 1970 +0000 |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
509 @@ -0,0 +1,1 @@ |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
510 +z |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
511 |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
512 $ echo foo > y |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
513 $ hg resolve -m |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
514 (no more unresolved files) |
3811
3273b178c202
evolve: store the evolvestate if relocation results in conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3810
diff
changeset
|
515 continue: hg evolve --continue |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
516 |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
517 $ hg evolve --continue |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
518 evolving 23:20885f9c4458 "added z" |
3882
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
519 merging y |
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
520 warning: conflicts while merging y! (edit, then use 'hg resolve --mark') |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
521 1 files updated, 0 files merged, 0 files removed, 1 files unresolved |
4676
b6c819facbe8
evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents:
4633
diff
changeset
|
522 unresolved merge conflicts |
b6c819facbe8
evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents:
4633
diff
changeset
|
523 (see 'hg help evolve.interrupted') |
5666
e5d91fd1f319
tests: update with more detailed exit codes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5647
diff
changeset
|
524 [240] |
3881
9cf45b94f977
evolve: continue conflicted relocation content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3853
diff
changeset
|
525 |
9cf45b94f977
evolve: continue conflicted relocation content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3853
diff
changeset
|
526 $ hg diff |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
527 diff -r 3ad61e93b7b0 y |
3882
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
528 --- a/y Thu Jan 01 00:00:00 1970 +0000 |
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
529 +++ b/y Thu Jan 01 00:00:00 1970 +0000 |
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
530 @@ -1,1 +1,5 @@ |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
531 +<<<<<<< local: 3ad61e93b7b0 - test: added z |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
532 foo |
3882
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
533 +======= |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
534 +watbar |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
535 +>>>>>>> other: 85cb29df3b9e bar - test: added z |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
536 diff -r 3ad61e93b7b0 z |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
537 --- a/z Thu Jan 01 00:00:00 1970 +0000 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
538 +++ b/z Thu Jan 01 00:00:00 1970 +0000 |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
539 @@ -1,1 +1,1 @@ |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
540 -z |
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
541 +bar |
3881
9cf45b94f977
evolve: continue conflicted relocation content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3853
diff
changeset
|
542 |
9cf45b94f977
evolve: continue conflicted relocation content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3853
diff
changeset
|
543 $ echo foo > y |
9cf45b94f977
evolve: continue conflicted relocation content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3853
diff
changeset
|
544 $ hg resolve -m |
3882
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
545 (no more unresolved files) |
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
546 continue: hg evolve --continue |
3881
9cf45b94f977
evolve: continue conflicted relocation content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3853
diff
changeset
|
547 $ hg evolve --continue |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
548 working directory is now at 9fe0112b059e |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
549 |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
550 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
551 @ 27:9fe0112b059e added z |
3882
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
552 | () [bar] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
553 o 21:a1a5f649aad4 added y |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
554 | () [bar] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
555 o 15:60f40a789d85 added foo to x |
3882
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
556 | () [bar] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
557 o 10:44c908a29dde added d |
3882
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
558 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
559 o 9:905d3f000de6 added c |
3882
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
560 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
561 o 8:bd76a775c527 added b |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
562 | () [default] draft |
5730
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
563 | o 1:c7586e2a9264 added a |
a119432bafc1
divergence-resolution: deal with simple "just one moved case" earlier
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5728
diff
changeset
|
564 |/ () [default] draft |
3810
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
565 o 0:8fa14d15e168 added hgignore |
04fe01b0c0d0
tests: add more test of resolution of content-divergent changesets
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3809
diff
changeset
|
566 () [default] draft |
3811
3273b178c202
evolve: store the evolvestate if relocation results in conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3810
diff
changeset
|
567 |
3273b178c202
evolve: store the evolvestate if relocation results in conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3810
diff
changeset
|
568 $ hg exp |
3273b178c202
evolve: store the evolvestate if relocation results in conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3810
diff
changeset
|
569 # HG changeset patch |
3273b178c202
evolve: store the evolvestate if relocation results in conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3810
diff
changeset
|
570 # User test |
3273b178c202
evolve: store the evolvestate if relocation results in conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3810
diff
changeset
|
571 # Date 0 0 |
3273b178c202
evolve: store the evolvestate if relocation results in conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3810
diff
changeset
|
572 # Thu Jan 01 00:00:00 1970 +0000 |
3881
9cf45b94f977
evolve: continue conflicted relocation content-divergence
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3853
diff
changeset
|
573 # Branch bar |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
574 # Node ID 9fe0112b059ea3e9b1213e4f07839b957125ffca |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
575 # Parent a1a5f649aad404acfddaa979465e96581c2ce0fb |
3882
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
576 added z |
3811
3273b178c202
evolve: store the evolvestate if relocation results in conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3810
diff
changeset
|
577 |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
578 diff -r a1a5f649aad4 -r 9fe0112b059e y |
3882
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
579 --- a/y Thu Jan 01 00:00:00 1970 +0000 |
3811
3273b178c202
evolve: store the evolvestate if relocation results in conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3810
diff
changeset
|
580 +++ b/y Thu Jan 01 00:00:00 1970 +0000 |
3882
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
581 @@ -1,1 +1,1 @@ |
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
582 -watbar |
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
583 +foo |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
584 diff -r a1a5f649aad4 -r 9fe0112b059e z |
3882
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
585 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 |
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
586 +++ b/z Thu Jan 01 00:00:00 1970 +0000 |
3811
3273b178c202
evolve: store the evolvestate if relocation results in conflicts
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3810
diff
changeset
|
587 @@ -0,0 +1,1 @@ |
3882
55b8c7e7e352
compat: temporarily move copies fix to compat.py
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3881
diff
changeset
|
588 +bar |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
589 |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
590 $ hg debugobsolete |
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
591 b1661037fa25511d0b7ccddf405e336f9d7d3424 7ed0642d644bb9ad93d252dd9ffe7b4729febe48 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'} |
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
592 b1661037fa25511d0b7ccddf405e336f9d7d3424 da4b96f4a8d610a85b225583138f681d67e275dd 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'} |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
593 7ed0642d644bb9ad93d252dd9ffe7b4729febe48 df708ef51071b9b7932664cb88742483ffa6c0af 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
594 df708ef51071b9b7932664cb88742483ffa6c0af bd76a775c52744611afa76b4980e0b46a7a105f5 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
595 da4b96f4a8d610a85b225583138f681d67e275dd bd76a775c52744611afa76b4980e0b46a7a105f5 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
596 ca1b80f7960aae2306287bab52b4090c59af8c29 905d3f000de6ac0cdca8ed4bd222bf08ddb4b6d4 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
597 c41c793e0ef1ddb463e85ea9491e377d01127ba2 44c908a29dde4b2a7fd1fa5714177b99a2423bbb 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
598 2eea3a452f0362f367aa8a45ffc2ebec52971c3d f9c46439290cf371c88424caaefc92398d808666 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '73', 'operation': 'amend', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
599 2eea3a452f0362f367aa8a45ffc2ebec52971c3d 03d7f147ff4243d7ac83eba7047ab8847da35c91 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
600 f9c46439290cf371c88424caaefc92398d808666 45cdf781a3eac63e762b68047e0beee60a47a805 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
601 45cdf781a3eac63e762b68047e0beee60a47a805 60f40a789d85a42549e1e10c27779cfb5d5e1e1c 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
602 03d7f147ff4243d7ac83eba7047ab8847da35c91 60f40a789d85a42549e1e10c27779cfb5d5e1e1c 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '73', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
603 6cba24390b749067bef92c44e0288e6f554bfb37 347339f712becdde80c9ad13d22a497db6086d90 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
604 6cba24390b749067bef92c44e0288e6f554bfb37 24f8adc447ef80b160e63ae48688e98cb737166f 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '68', 'operation': 'rebase', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
605 24f8adc447ef80b160e63ae48688e98cb737166f 7734a6171413c2df9c39102accf4bc21cbc5bd9a 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
606 347339f712becdde80c9ad13d22a497db6086d90 6f720dea6f607e618f51c0cf1b07f8415de5e23e 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
607 6f720dea6f607e618f51c0cf1b07f8415de5e23e a1a5f649aad404acfddaa979465e96581c2ce0fb 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '72', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
608 7734a6171413c2df9c39102accf4bc21cbc5bd9a a1a5f649aad404acfddaa979465e96581c2ce0fb 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
609 e308b18e59abf67245f1d9e19d26578bab7cd9c1 20885f9c44581ef505edf72a1de7c939ed3eb794 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
610 e308b18e59abf67245f1d9e19d26578bab7cd9c1 29d63ec6339e534af5eff2c8f3f47cfac2f2c863 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '68', 'operation': 'rebase', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
611 29d63ec6339e534af5eff2c8f3f47cfac2f2c863 85cb29df3b9e7c6d08ffa7d546639c5360acc92d 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
612 20885f9c44581ef505edf72a1de7c939ed3eb794 3ad61e93b7b0eb94c634e61fe0570cc016cf2d1b 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '12', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
613 3ad61e93b7b0eb94c634e61fe0570cc016cf2d1b 9fe0112b059ea3e9b1213e4f07839b957125ffca 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '72', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
614 85cb29df3b9e7c6d08ffa7d546639c5360acc92d 9fe0112b059ea3e9b1213e4f07839b957125ffca 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'evolve', 'user': 'test'} |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
615 $ hg obslog --all |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
616 @ 9fe0112b059e (27) added z |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
617 |\ rewritten(branch, content) from 3ad61e93b7b0 using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
618 | | amended(content) from 85cb29df3b9e using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
619 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
620 x | 3ad61e93b7b0 (26) added z |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
621 | | rewritten(parent, content) from 20885f9c4458 using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
5572
d7d954b6d518
evolve: remove swapping nodes logic while resolving divergence
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
5301
diff
changeset
|
622 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
623 | x 85cb29df3b9e (25) added z |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
624 | | amended(content) from 29d63ec6339e using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
625 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
626 x | 20885f9c4458 (23) added z |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
627 | | amended(content) from e308b18e59ab using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
628 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
629 | x 29d63ec6339e (24) added z |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
630 |/ rewritten(branch, parent) from e308b18e59ab using rebase by test (Thu Jan 01 00:00:00 1970 +0000) |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
631 | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
632 x e308b18e59ab (22) added z |
5276
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
633 |
c834fdb87f90
tests: add more verification of output to divergence tests
Martin von Zweigbergk <martinvonz@google.com>
parents:
5275
diff
changeset
|
634 |
3844
48fbccfd1dff
tests: add test of resolution of content-divergent stacks
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3842
diff
changeset
|
635 $ cd .. |
5294
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
636 |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
637 Testing when relocation results in nothing to commit |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
638 ---------------------------------------------------- |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
639 |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
640 Set up a repo where relocation results in no changes to commit because the |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
641 changes from the relocated node are already in the destination. |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
642 |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
643 $ hg init nothing-to-commit |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
644 $ cd nothing-to-commit |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
645 $ echo 0 > a |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
646 $ hg ci -Aqm initial |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
647 $ echo 1 > a |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
648 $ hg ci -Aqm upstream |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
649 $ hg prev -q |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
650 |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
651 Create the source of divergence. |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
652 $ echo 0 > b |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
653 $ hg ci -Aqm divergent |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
654 |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
655 The first side of the divergence get rebased on top of upstream. |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
656 $ hg rebase -r . -d 'desc("upstream")' |
5647
c2fab88e6d60
tests: rebase now produces different "one-line summary" output
Martin von Zweigbergk <martinvonz@google.com>
parents:
5572
diff
changeset
|
657 rebasing 2:898ddd4443b3 tip "divergent" |
5294
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
658 $ hg --hidden co 2 -q |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
659 updated to hidden changeset 898ddd4443b3 |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
660 (hidden revision '898ddd4443b3' was rewritten as: befae6138569) |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
661 working directory parent is obsolete! (898ddd4443b3) |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
662 |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
663 The other side of the divergence gets amended so it matches upstream. |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
664 Relocation (onto upstream) will therefore result in no changes to commit. |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
665 $ hg revert -r 'desc("upstream")' --all |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
666 removing b |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
667 reverting a |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
668 $ hg amend --config experimental.evolution.allowdivergence=True |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
669 2 new content-divergent changesets |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
670 |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
671 Add a commit on top. This one should become an orphan. Evolving it later |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
672 should put it on top of the other divergent side (the one that's on top of |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
673 upstream) |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
674 $ echo 0 > c |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
675 $ hg ci -Aqm child |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
676 $ hg co -q null |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
677 $ hg glog |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
678 o 5:88473f9137d1 child |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
679 | () [default] draft |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
680 * 4:4cc21313ecee divergent |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
681 | () [default] draft |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
682 | * 3:befae6138569 divergent |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
683 | | () [default] draft |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
684 | o 1:33c576d20069 upstream |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
685 |/ () [default] draft |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
686 o 0:98a3f8f02ba7 initial |
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
687 () [default] draft |
5295
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
688 $ hg evolve --content-divergent |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
689 merge:[3] divergent |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
690 with: [4] divergent |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
691 base: [2] divergent |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
692 rebasing "other" content-divergent changeset 4cc21313ecee on 33c576d20069 |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
693 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
694 1 new orphan changesets |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
695 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
696 o 7:412e351c2892 divergent |
5295
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
697 | () [default] draft |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
698 | * 5:88473f9137d1 child |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
699 | | () [default] draft |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
700 | x 4:4cc21313ecee divergent |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
701 | | () [default] draft |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
702 o | 1:33c576d20069 upstream |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
703 |/ () [default] draft |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
704 o 0:98a3f8f02ba7 initial |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
705 () [default] draft |
5294
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
706 |
5295
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
707 $ hg evolve --any |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
708 move:[5] child |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
709 atop:[7] divergent |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
710 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
711 o 8:b361c3801668 child |
5295
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
712 | () [default] draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
713 o 7:412e351c2892 divergent |
5295
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
714 | () [default] draft |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
715 o 1:33c576d20069 upstream |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
716 | () [default] draft |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
717 o 0:98a3f8f02ba7 initial |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
718 () [default] draft |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
719 $ hg debugobsolete |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
720 898ddd4443b3d5520bf48f22f9411d5a0751cf2e befae61385695f1ae4b78b030ad91075b2b523ef 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'rebase', 'user': 'test'} |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
721 898ddd4443b3d5520bf48f22f9411d5a0751cf2e 4cc21313ecee97ce33265514a0596a192bfa6b3f 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'amend', 'user': 'test'} |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
722 4cc21313ecee97ce33265514a0596a192bfa6b3f 76fca1cf64e34efb00748a6cc50d2d0b411e3039 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '12', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
723 befae61385695f1ae4b78b030ad91075b2b523ef 412e351c28921f27c0f3ac678e209a9e99d9b76c 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '8', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
724 76fca1cf64e34efb00748a6cc50d2d0b411e3039 412e351c28921f27c0f3ac678e209a9e99d9b76c 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'evolve', 'user': 'test'} |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
725 88473f9137d12e90055d30bbb9b78dd786520870 b361c3801668c8ba867a32ecc2a38cfdfb582a7e 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'} |
5295
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
726 $ hg obslog -r 'desc("divergent")' --all |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
727 o 412e351c2892 (7) divergent |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
728 |\ rewritten from 76fca1cf64e3 using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
729 | | amended(content) from befae6138569 using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
730 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
731 x | 76fca1cf64e3 (6) divergent |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
732 | | rewritten(parent, content) from 4cc21313ecee using evolve by test (Thu Jan 01 00:00:00 1970 +0000) |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
733 | | |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
734 | x befae6138569 (3) divergent |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
735 | | rebased(parent) from 898ddd4443b3 using rebase by test (Thu Jan 01 00:00:00 1970 +0000) |
5295
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
736 | | |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
737 x | 4cc21313ecee (4) divergent |
5301
e8660b28bfee
obslog: makes --origin flag the default
Anton Shestakov <av6@dwimlabs.net>
parents:
5297
diff
changeset
|
738 |/ amended(content) from 898ddd4443b3 using amend by test (Thu Jan 01 00:00:00 1970 +0000) |
5295
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
739 | |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
740 x 898ddd4443b3 (2) divergent |
ebfd0d875600
evolve: handle relocation during divergence resolution producing no changes
Martin von Zweigbergk <martinvonz@google.com>
parents:
5294
diff
changeset
|
741 |
5294
265e029785ae
tests: show crash from divergence resolution resulting in empty commit
Martin von Zweigbergk <martinvonz@google.com>
parents:
5293
diff
changeset
|
742 $ cd .. |