Mercurial > evolve
annotate tests/test-evolve-continue.t @ 6765:5376963ea1d9 mercurial-5.3
test-compat: merge mercurial-5.4 into mercurial-5.3
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Thu, 11 Apr 2024 14:30:20 -0300 |
parents | e5bd76f95145 |
children | 716912541759 |
rev | line source |
---|---|
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
1 Testing the continue functionality of `hg evolve` |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
2 |
6040
29bc269bcc96
tests: source common.sh in more tests
Anton Shestakov <av6@dwimlabs.net>
parents:
5962
diff
changeset
|
3 $ . $TESTDIR/testlib/common.sh |
29bc269bcc96
tests: source common.sh in more tests
Anton Shestakov <av6@dwimlabs.net>
parents:
5962
diff
changeset
|
4 |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
5 $ cat >> $HGRCPATH <<EOF |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
6 > [ui] |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
7 > interactive = True |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
8 > [extensions] |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
9 > rebase = |
6040
29bc269bcc96
tests: source common.sh in more tests
Anton Shestakov <av6@dwimlabs.net>
parents:
5962
diff
changeset
|
10 > evolve = |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
11 > EOF |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
12 |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
13 Setting up the repo |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
14 |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
15 $ hg init repo |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
16 $ cd repo |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
17 $ echo ".*\.orig" > .hgignore |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
18 $ hg add .hgignore |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
19 $ hg ci -m "added hgignore" |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
20 $ for ch in a b c d; do echo foo>$ch; hg add $ch; hg ci -qm "added "$ch; done |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
21 |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
22 $ hg glog |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
23 @ 4:c41c793e0ef1 added d |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
24 | () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
25 o 3:ca1b80f7960a added c |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
26 | () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
27 o 2:b1661037fa25 added b |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
28 | () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
29 o 1:c7586e2a9264 added a |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
30 | () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
31 o 0:8fa14d15e168 added hgignore |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
32 () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
33 |
4577
bcd52ce0916d
evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents:
4576
diff
changeset
|
34 Simple case of evolve --continue |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
35 |
6197
f1d4c9eddcc1
tests: use desc() revset instead of node hashes in test-evolve-continue.t
Luke Granger-Brown <hg@lukegb.com>
parents:
6042
diff
changeset
|
36 $ hg up 'desc("added c")' |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
37 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
38 $ echo bar > d |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
39 $ hg add d |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
40 $ hg amend |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
41 1 new orphan changesets |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
42 $ hg glog |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
43 @ 5:cb6a2ab625bb added c |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
44 | () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
45 | * 4:c41c793e0ef1 added d |
6042
1cbafebe874b
tests: add {instabilities} to the common glog alias
Anton Shestakov <av6@dwimlabs.net>
parents:
6041
diff
changeset
|
46 | | () draft orphan |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
47 | x 3:ca1b80f7960a added c |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
48 |/ () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
49 o 2:b1661037fa25 added b |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
50 | () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
51 o 1:c7586e2a9264 added a |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
52 | () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
53 o 0:8fa14d15e168 added hgignore |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
54 () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
55 |
4577
bcd52ce0916d
evolve: don't update after instability resolution by default (BC)
Anton Shestakov <av6@dwimlabs.net>
parents:
4576
diff
changeset
|
56 $ hg evolve --all |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
57 move:[4] added d |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
58 atop:[5] added c |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
59 merging d |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
60 warning: conflicts while merging d! (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:
4577
diff
changeset
|
61 unresolved merge conflicts |
b6c819facbe8
evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents:
4577
diff
changeset
|
62 (see 'hg help evolve.interrupted') |
5747
8e4f6354b316
tests: back out changeset b3d9e6c805d6
Anton Shestakov <av6@dwimlabs.net>
parents:
5722
diff
changeset
|
63 [1] |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
64 |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
65 $ echo foo > d |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
66 $ hg resolve -m |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
67 (no more unresolved files) |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
68 continue: hg evolve --continue |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
69 |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
70 $ hg evolve --continue |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
71 evolving 4:c41c793e0ef1 "added d" |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
72 |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
73 $ hg glog |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
74 o 6:250d8c3c5ad9 added d |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
75 | () draft |
4505
cc2bbe2701a3
evolve: store --update flag state in evolvestate file
Anton Shestakov <av6@dwimlabs.net>
parents:
4501
diff
changeset
|
76 @ 5:cb6a2ab625bb added c |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
77 | () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
78 o 2:b1661037fa25 added b |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
79 | () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
80 o 1:c7586e2a9264 added a |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
81 | () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
82 o 0:8fa14d15e168 added hgignore |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
83 () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
84 |
4505
cc2bbe2701a3
evolve: store --update flag state in evolvestate file
Anton Shestakov <av6@dwimlabs.net>
parents:
4501
diff
changeset
|
85 $ hg up |
cc2bbe2701a3
evolve: store --update flag state in evolvestate file
Anton Shestakov <av6@dwimlabs.net>
parents:
4501
diff
changeset
|
86 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
cc2bbe2701a3
evolve: store --update flag state in evolvestate file
Anton Shestakov <av6@dwimlabs.net>
parents:
4501
diff
changeset
|
87 |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
88 Testing hg continue for evolve |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
89 |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
90 $ hg up 'desc("added b")' |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
91 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
92 $ echo bar > c |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
93 $ hg add c |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
94 $ hg amend |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
95 2 new orphan changesets |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
96 $ hg glog |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
97 @ 7:8591ebad2ee8 added b |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
98 | () draft |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
99 | * 6:250d8c3c5ad9 added d |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
100 | | () draft orphan |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
101 | * 5:cb6a2ab625bb added c |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
102 | | () draft orphan |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
103 | x 2:b1661037fa25 added b |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
104 |/ () draft |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
105 o 1:c7586e2a9264 added a |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
106 | () draft |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
107 o 0:8fa14d15e168 added hgignore |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
108 () draft |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
109 |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
110 $ hg evolve --all |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
111 move:[5] added c |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
112 atop:[7] added b |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
113 merging c |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
114 warning: conflicts while merging c! (edit, then use 'hg resolve --mark') |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
115 unresolved merge conflicts |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
116 (see 'hg help evolve.interrupted') |
6395
1328195f76a9
test-compat: merge mercurial-5.7 into mercurial-5.6
Anton Shestakov <av6@dwimlabs.net>
diff
changeset
|
117 [1] |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
118 |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
119 $ echo foo > c |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
120 $ hg resolve -m |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
121 (no more unresolved files) |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
122 continue: hg evolve --continue |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
123 |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
124 $ hg continue |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
125 evolving 5:cb6a2ab625bb "added c" |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
126 move:[6] added d |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
127 atop:[8] added c |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
128 |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
129 $ hg glog |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
130 o 9:628919fc6772 added d |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
131 | () draft |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
132 o 8:f8d5006085c0 added c |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
133 | () draft |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
134 @ 7:8591ebad2ee8 added b |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
135 | () draft |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
136 o 1:c7586e2a9264 added a |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
137 | () draft |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
138 o 0:8fa14d15e168 added hgignore |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
139 () draft |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
140 |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
141 $ hg up |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
142 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
143 |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
144 Case when conflicts resolution lead to empty wdir in evolve --continue |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
145 |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
146 $ echo foo > e |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
147 $ hg ci -Aqm "added e" |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
148 $ hg prev |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
149 0 files updated, 0 files merged, 1 files removed, 0 files unresolved |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
150 [9] added d |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
151 $ echo bar > e |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
152 $ hg add e |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
153 $ hg amend |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
154 1 new orphan changesets |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
155 |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
156 $ hg glog |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
157 @ 11:7898e026e390 added d |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
158 | () draft |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
159 | * 10:5610cf0a9e66 added e |
6042
1cbafebe874b
tests: add {instabilities} to the common glog alias
Anton Shestakov <av6@dwimlabs.net>
parents:
6041
diff
changeset
|
160 | | () draft orphan |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
161 | x 9:628919fc6772 added d |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
162 |/ () draft |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
163 o 8:f8d5006085c0 added c |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
164 | () draft |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
165 o 7:8591ebad2ee8 added b |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
166 | () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
167 o 1:c7586e2a9264 added a |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
168 | () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
169 o 0:8fa14d15e168 added hgignore |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
170 () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
171 |
4576
96ce1030d2fb
tests: add --update to hg evolve to reduce test changes for the next patch
Anton Shestakov <av6@dwimlabs.net>
parents:
4505
diff
changeset
|
172 $ hg evolve --update |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
173 move:[10] added e |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
174 atop:[11] added d |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
175 merging e |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
176 warning: conflicts while merging e! (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:
4577
diff
changeset
|
177 unresolved merge conflicts |
b6c819facbe8
evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents:
4577
diff
changeset
|
178 (see 'hg help evolve.interrupted') |
5747
8e4f6354b316
tests: back out changeset b3d9e6c805d6
Anton Shestakov <av6@dwimlabs.net>
parents:
5722
diff
changeset
|
179 [1] |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
180 |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
181 $ echo bar > e |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
182 $ hg resolve -m |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
183 (no more unresolved files) |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
184 continue: hg evolve --continue |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
185 $ hg diff |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
186 |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
187 $ hg evolve --continue |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
188 evolving 10:5610cf0a9e66 "added e" |
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
189 evolution of 10:5610cf0a9e66 created no changes to commit |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
190 |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
191 $ hg glog |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
192 @ 11:7898e026e390 added d |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
193 | () draft |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
194 o 8:f8d5006085c0 added c |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
195 | () draft |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
196 o 7:8591ebad2ee8 added b |
3489
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
197 | () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
198 o 1:c7586e2a9264 added a |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
199 | () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
200 o 0:8fa14d15e168 added hgignore |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
201 () draft |
ee72cdc2387b
tests: add tests for `hg evolve --continue`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
diff
changeset
|
202 |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
203 Case when there are a lot of revision to continue |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
204 |
6197
f1d4c9eddcc1
tests: use desc() revset instead of node hashes in test-evolve-continue.t
Luke Granger-Brown <hg@lukegb.com>
parents:
6042
diff
changeset
|
205 $ hg up 'desc("added a")' |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
206 0 files updated, 0 files merged, 4 files removed, 0 files unresolved |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
207 $ echo bar > b |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
208 $ hg add b |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
209 $ hg amend |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
210 3 new orphan changesets |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
211 |
4576
96ce1030d2fb
tests: add --update to hg evolve to reduce test changes for the next patch
Anton Shestakov <av6@dwimlabs.net>
parents:
4505
diff
changeset
|
212 $ hg evolve --all --update |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
213 move:[7] added b |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
214 atop:[12] added a |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
215 merging b |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
216 warning: conflicts while merging b! (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:
4577
diff
changeset
|
217 unresolved merge conflicts |
b6c819facbe8
evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents:
4577
diff
changeset
|
218 (see 'hg help evolve.interrupted') |
5747
8e4f6354b316
tests: back out changeset b3d9e6c805d6
Anton Shestakov <av6@dwimlabs.net>
parents:
5722
diff
changeset
|
219 [1] |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
220 |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
221 $ echo foo > b |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
222 $ hg resolve -m |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
223 (no more unresolved files) |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
224 continue: hg evolve --continue |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
225 $ hg evolve --continue |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
226 evolving 7:8591ebad2ee8 "added b" |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
227 move:[8] added c |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
228 atop:[13] added b |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
229 move:[11] added d |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
230 working directory is now at 0fb68c8390f6 |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
231 |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
232 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
233 @ 15:0fb68c8390f6 added d |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
234 | () draft |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
235 o 14:7bf9d72ff3bf added c |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
236 | () draft |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
237 o 13:aaa724b65a25 added b |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
238 | () draft |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
239 o 12:53b632d203d8 added a |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
240 | () draft |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
241 o 0:8fa14d15e168 added hgignore |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
242 () draft |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
243 |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
244 Conlicts -> resolve -> continue -> conflicts -> resolve -> continue |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
245 Test multiple conflicts in one evolve |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
246 |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
247 $ for ch in f g h; do echo foo > $ch; hg add $ch; hg ci -m "added "$ch; done; |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
248 |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
249 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
250 @ 18:1519cf722575 added h |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
251 | () draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
252 o 17:04c32ddd9b44 added g |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
253 | () draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
254 o 16:29139ab665e3 added f |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
255 | () draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
256 o 15:0fb68c8390f6 added d |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
257 | () draft |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
258 o 14:7bf9d72ff3bf added c |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
259 | () draft |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
260 o 13:aaa724b65a25 added b |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
261 | () draft |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
262 o 12:53b632d203d8 added a |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
263 | () draft |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
264 o 0:8fa14d15e168 added hgignore |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
265 () draft |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
266 |
6197
f1d4c9eddcc1
tests: use desc() revset instead of node hashes in test-evolve-continue.t
Luke Granger-Brown <hg@lukegb.com>
parents:
6042
diff
changeset
|
267 $ hg up 'desc("added c")' |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
268 1 files updated, 0 files merged, 4 files removed, 0 files unresolved |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
269 |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
270 $ echo bar > f |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
271 $ echo bar > h |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
272 $ hg add f h |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
273 $ hg amend |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
274 4 new orphan changesets |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
275 |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
276 $ hg glog |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
277 @ 19:ebc872a542e5 added c |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
278 | () draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
279 | * 18:1519cf722575 added h |
6042
1cbafebe874b
tests: add {instabilities} to the common glog alias
Anton Shestakov <av6@dwimlabs.net>
parents:
6041
diff
changeset
|
280 | | () draft orphan |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
281 | * 17:04c32ddd9b44 added g |
6042
1cbafebe874b
tests: add {instabilities} to the common glog alias
Anton Shestakov <av6@dwimlabs.net>
parents:
6041
diff
changeset
|
282 | | () draft orphan |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
283 | * 16:29139ab665e3 added f |
6042
1cbafebe874b
tests: add {instabilities} to the common glog alias
Anton Shestakov <av6@dwimlabs.net>
parents:
6041
diff
changeset
|
284 | | () draft orphan |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
285 | * 15:0fb68c8390f6 added d |
6042
1cbafebe874b
tests: add {instabilities} to the common glog alias
Anton Shestakov <av6@dwimlabs.net>
parents:
6041
diff
changeset
|
286 | | () draft orphan |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
287 | x 14:7bf9d72ff3bf added c |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
288 |/ () draft |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
289 o 13:aaa724b65a25 added b |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
290 | () draft |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
291 o 12:53b632d203d8 added a |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
292 | () draft |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
293 o 0:8fa14d15e168 added hgignore |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
294 () draft |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
295 |
4576
96ce1030d2fb
tests: add --update to hg evolve to reduce test changes for the next patch
Anton Shestakov <av6@dwimlabs.net>
parents:
4505
diff
changeset
|
296 $ hg evolve --all --update |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
297 move:[15] added d |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
298 atop:[19] added c |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
299 move:[16] added f |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
300 merging f |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
301 warning: conflicts while merging f! (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:
4577
diff
changeset
|
302 unresolved merge conflicts |
b6c819facbe8
evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents:
4577
diff
changeset
|
303 (see 'hg help evolve.interrupted') |
5747
8e4f6354b316
tests: back out changeset b3d9e6c805d6
Anton Shestakov <av6@dwimlabs.net>
parents:
5722
diff
changeset
|
304 [1] |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
305 |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
306 $ echo foo > f |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
307 $ hg resolve -m |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
308 (no more unresolved files) |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
309 continue: hg evolve --continue |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
310 $ 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
|
311 evolving 16:29139ab665e3 "added f" |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
312 move:[17] added g |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
313 atop:[21] added f |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
314 move:[18] added h |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
315 merging h |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
316 warning: conflicts while merging h! (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:
4577
diff
changeset
|
317 unresolved merge conflicts |
b6c819facbe8
evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents:
4577
diff
changeset
|
318 (see 'hg help evolve.interrupted') |
5747
8e4f6354b316
tests: back out changeset b3d9e6c805d6
Anton Shestakov <av6@dwimlabs.net>
parents:
5722
diff
changeset
|
319 [1] |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
320 |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
321 $ echo foo > h |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
322 $ hg resolve -m |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
323 (no more unresolved files) |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
324 continue: hg evolve --continue |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
325 $ 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
|
326 evolving 18:1519cf722575 "added h" |
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
327 working directory is now at 0eb2b6434bd7 |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
328 |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
329 Make sure, confirmopt is respected while continue |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
330 |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
331 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
332 @ 23:0eb2b6434bd7 added h |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
333 | () draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
334 o 22:d4c17c25a1c7 added g |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
335 | () draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
336 o 21:602e4bd1e5aa added f |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
337 | () draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
338 o 20:5cf56d246d18 added d |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
339 | () draft |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
340 o 19:ebc872a542e5 added c |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
341 | () draft |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
342 o 13:aaa724b65a25 added b |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
343 | () draft |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
344 o 12:53b632d203d8 added a |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
345 | () draft |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
346 o 0:8fa14d15e168 added hgignore |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
347 () draft |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
348 |
6197
f1d4c9eddcc1
tests: use desc() revset instead of node hashes in test-evolve-continue.t
Luke Granger-Brown <hg@lukegb.com>
parents:
6042
diff
changeset
|
349 $ hg up 'desc("added f")' |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
350 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
351 $ echo bar > g |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
352 $ hg add g |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
353 $ hg amend |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
354 2 new orphan changesets |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
355 |
4576
96ce1030d2fb
tests: add --update to hg evolve to reduce test changes for the next patch
Anton Shestakov <av6@dwimlabs.net>
parents:
4505
diff
changeset
|
356 $ hg evolve --all --update --confirm << EOF |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
357 > y |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
358 > EOF |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
359 move:[22] added g |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
360 atop:[24] added f |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
361 perform evolve? [Ny] y |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
362 merging g |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
363 warning: conflicts while merging g! (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:
4577
diff
changeset
|
364 unresolved merge conflicts |
b6c819facbe8
evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents:
4577
diff
changeset
|
365 (see 'hg help evolve.interrupted') |
5747
8e4f6354b316
tests: back out changeset b3d9e6c805d6
Anton Shestakov <av6@dwimlabs.net>
parents:
5722
diff
changeset
|
366 [1] |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
367 |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
368 $ echo foo > g |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
369 $ hg resolve -m |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
370 (no more unresolved files) |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
371 continue: hg evolve --continue |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
372 |
4576
96ce1030d2fb
tests: add --update to hg evolve to reduce test changes for the next patch
Anton Shestakov <av6@dwimlabs.net>
parents:
4505
diff
changeset
|
373 $ hg evolve --continue << EOF |
3493
4544067b831b
evolve: make `hg evolve --continue` respect `--confirm`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3492
diff
changeset
|
374 > y |
4544067b831b
evolve: make `hg evolve --continue` respect `--confirm`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3492
diff
changeset
|
375 > EOF |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
376 evolving 22:d4c17c25a1c7 "added g" |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
377 move:[23] added h |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
378 atop:[25] added g |
3493
4544067b831b
evolve: make `hg evolve --continue` respect `--confirm`
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3492
diff
changeset
|
379 perform evolve? [Ny] y |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
380 working directory is now at cc583f773dc4 |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
381 |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
382 $ hg glog |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
383 @ 26:cc583f773dc4 added h |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
384 | () draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
385 o 25:84772f0dfa79 added g |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
386 | () draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
387 o 24:d074fc123610 added f |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
388 | () draft |
6317
53d63b608230
evolve: stop preserving all of {extras} for uninterrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6316
diff
changeset
|
389 o 20:5cf56d246d18 added d |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
390 | () draft |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
391 o 19:ebc872a542e5 added c |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
392 | () draft |
6316
b1d1f4ade142
evolve: don't embed graft data when completing interrupted evolve operations
Matt Harbison <matt_harbison@yahoo.com>
parents:
6198
diff
changeset
|
393 o 13:aaa724b65a25 added b |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
394 | () draft |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
395 o 12:53b632d203d8 added a |
3491
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
396 | () draft |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
397 o 0:8fa14d15e168 added hgignore |
92df1aac8c7f
tests: add more tests to test-evolve-continue.t
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3490
diff
changeset
|
398 () draft |
3502
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
399 |
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
400 Testing `evolve --continue` after `hg next --evolve` |
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
401 |
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
402 $ hg up .^^ |
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
403 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
404 $ echo foobar > g |
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
405 $ hg amend |
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
406 2 new orphan changesets |
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
407 |
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
408 $ hg next --evolve |
6198
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
409 move:[25] added g |
cc80747ef3c8
evolve: support hg continue
Luke Granger-Brown <hg@lukegb.com>
parents:
6197
diff
changeset
|
410 atop:[27] added f |
3502
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
411 merging g |
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
412 warning: conflicts while merging g! (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:
4577
diff
changeset
|
413 unresolved merge conflicts |
b6c819facbe8
evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents:
4577
diff
changeset
|
414 (see 'hg help evolve.interrupted') |
5747
8e4f6354b316
tests: back out changeset b3d9e6c805d6
Anton Shestakov <av6@dwimlabs.net>
parents:
5722
diff
changeset
|
415 [1] |
3502
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
416 $ echo foo > g |
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
417 $ hg resolve -m |
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
418 (no more unresolved files) |
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
419 continue: hg evolve --continue |
8cf1020bd4f9
tests: add test showing `evolve --continue` after `next --evolve` is broken
Pulkit Goyal <7895pulkit@gmail.com>
parents:
3494
diff
changeset
|
420 $ 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
|
421 evolving 25:84772f0dfa79 "added g" |
4425
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
422 |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
423 Testing that interrupted evolve don't get confused about copies (issue5930): |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
424 ---------------------------------------------------------------------------- |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
425 |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
426 $ cd .. |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
427 $ hg init issue5930 |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
428 $ cd issue5930 |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
429 $ echo a > a |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
430 $ hg ci -Am "added a" |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
431 adding a |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
432 $ hg cp a b |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
433 $ hg ci -m "rename a to b" |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
434 |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
435 $ hg up 0 -q |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
436 $ echo c > c |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
437 $ hg ci -Am "added c" |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
438 adding c |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
439 created new head |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
440 |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
441 $ echo d > c |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
442 $ echo d > d |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
443 $ hg ci -Am "added d, modified c" |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
444 adding d |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
445 $ hg up .^ |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
446 1 files updated, 0 files merged, 1 files removed, 0 files unresolved |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
447 |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
448 $ hg log -G -T "{rev} {desc}\n" |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
449 o 3 added d, modified c |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
450 | |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
451 @ 2 added c |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
452 | |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
453 | o 1 rename a to b |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
454 |/ |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
455 o 0 added a |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
456 |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
457 $ hg rebase -r . -d 1 |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
458 rebasing 2:29edef26570b "added c" |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
459 1 new orphan changesets |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
460 $ echo conflict > c |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
461 $ hg amend |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
462 |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
463 $ hg log -G -T "{rev} {desc}\n" |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
464 @ 5 added c |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
465 | |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
466 | * 3 added d, modified c |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
467 | | |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
468 | x 2 added c |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
469 | | |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
470 o | 1 rename a to b |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
471 |/ |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
472 o 0 added a |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
473 |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
474 |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
475 $ hg evolve |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
476 move:[3] added d, modified c |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
477 atop:[5] added c |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
478 merging c |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
479 warning: conflicts while merging c! (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:
4577
diff
changeset
|
480 unresolved merge conflicts |
b6c819facbe8
evolvecmd: the proper way to deal with conflicts is to resolve them
Anton Shestakov <av6@dwimlabs.net>
parents:
4577
diff
changeset
|
481 (see 'hg help evolve.interrupted') |
5747
8e4f6354b316
tests: back out changeset b3d9e6c805d6
Anton Shestakov <av6@dwimlabs.net>
parents:
5722
diff
changeset
|
482 [1] |
4425
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
483 |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
484 Status mentions file 'b' (copied from 'a') here, even though it wasn't |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
485 affected by the evolved changeset (nor was 'a') |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
486 |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
487 $ hg st -C |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
488 M c |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
489 A d |
43c24cf6d24b
evolve: add tests which shows evolve can get confused about copies (issue5930)
Sushil khanchi <sushilkhanchi97@gmail.com>
parents:
4122
diff
changeset
|
490 ? c.orig |
5010
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
491 |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
492 $ cd .. |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
493 $ hg init transitive-renames |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
494 $ cd transitive-renames |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
495 $ echo 1 > a |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
496 $ echo 1 > b |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
497 $ hg ci -Aqm initial |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
498 $ echo 2 > a |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
499 $ hg mv b c |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
500 $ hg ci -m 'rename b to c' |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
501 $ echo 3 > a |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
502 $ hg mv c d |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
503 $ hg ci -m 'rename c to d' |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
504 $ hg prev -q |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
505 $ echo 2b > a |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
506 $ hg amend -q |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
507 1 new orphan changesets |
5962
b68789e8c535
tests: spell out hg commands for readability
Anton Shestakov <av6@dwimlabs.net>
parents:
5777
diff
changeset
|
508 $ hg evolve -q |
5010
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
509 warning: conflicts while merging a! (edit, then use 'hg resolve --mark') |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
510 unresolved merge conflicts |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
511 (see 'hg help evolve.interrupted') |
5747
8e4f6354b316
tests: back out changeset b3d9e6c805d6
Anton Shestakov <av6@dwimlabs.net>
parents:
5722
diff
changeset
|
512 [1] |
5010
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
513 $ hg st -C |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
514 M a |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
515 A d |
5011
04104042c6ad
evolve: delete redundant and incorrect code for updating dirstate
Martin von Zweigbergk <martinvonz@google.com>
parents:
5010
diff
changeset
|
516 c |
5010
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
517 R c |
effce0a1f5bd
tests: demonstrate how evolve loses transitive copies when interrupted
Martin von Zweigbergk <martinvonz@google.com>
parents:
4676
diff
changeset
|
518 ? a.orig |