Show More
@@ -1080,6 +1080,8 b' class queue(object):' | |||||
1080 | except: pass |
|
1080 | except: pass | |
1081 | repo.dirstate.forget(f) |
|
1081 | repo.dirstate.forget(f) | |
1082 | repo.dirstate.setparents(qp, nullid) |
|
1082 | repo.dirstate.setparents(qp, nullid) | |
|
1083 | for patch in reversed(self.applied[start:end]): | |||
|
1084 | self.ui.warn(_("popping %s\n") % patch.name) | |||
1083 | del self.applied[start:end] |
|
1085 | del self.applied[start:end] | |
1084 | self.strip(repo, rev, update=False, backup='strip') |
|
1086 | self.strip(repo, rev, update=False, backup='strip') | |
1085 | if len(self.applied): |
|
1087 | if len(self.applied): |
@@ -210,6 +210,7 b' diff -r ef63ca68695b -r 40a904bbbe4c c' | |||||
210 | +$Id$ |
|
210 | +$Id$ | |
211 | +tests for different changenodes |
|
211 | +tests for different changenodes | |
212 | % qpop |
|
212 | % qpop | |
|
213 | popping mqtest.diff | |||
213 | patch queue now empty |
|
214 | patch queue now empty | |
214 | % qgoto - should imply qpush |
|
215 | % qgoto - should imply qpush | |
215 | applying mqtest.diff |
|
216 | applying mqtest.diff | |
@@ -218,6 +219,7 b' now at: mqtest.diff' | |||||
218 | $Id: c,v 40a904bbbe4c 1970/01/01 00:00:01 user $ |
|
219 | $Id: c,v 40a904bbbe4c 1970/01/01 00:00:01 user $ | |
219 | tests for different changenodes |
|
220 | tests for different changenodes | |
220 | % qpop and move on |
|
221 | % qpop and move on | |
|
222 | popping mqtest.diff | |||
221 | patch queue now empty |
|
223 | patch queue now empty | |
222 | % copy |
|
224 | % copy | |
223 | % kwfiles added |
|
225 | % kwfiles added |
@@ -5,6 +5,7 b' tip: 0' | |||||
5 | No branch cache |
|
5 | No branch cache | |
6 |
|
6 | |||
7 | # some regular revisions |
|
7 | # some regular revisions | |
|
8 | popping p1 | |||
8 | patch queue now empty |
|
9 | patch queue now empty | |
9 | tip: 1 |
|
10 | tip: 1 | |
10 | 3f910abad313ff802d3a23a7529433872df9b3ae 1 |
|
11 | 3f910abad313ff802d3a23a7529433872df9b3ae 1 | |
@@ -43,6 +44,9 b' branch bar: 2' | |||||
43 | qbase: 1 |
|
44 | qbase: 1 | |
44 |
|
45 | |||
45 | # detect an invalid cache |
|
46 | # detect an invalid cache | |
|
47 | popping p2 | |||
|
48 | popping p1 | |||
|
49 | popping p0 | |||
46 | patch queue now empty |
|
50 | patch queue now empty | |
47 | applying p0 |
|
51 | applying p0 | |
48 | applying p1 |
|
52 | applying p1 |
@@ -9,12 +9,14 b' 1 out of 1 hunks FAILED -- saving reject' | |||||
9 | patch failed, unable to continue (try -v) |
|
9 | patch failed, unable to continue (try -v) | |
10 | patch failed, rejects left in working dir |
|
10 | patch failed, rejects left in working dir | |
11 | errors during apply, please fix and refresh eol.diff |
|
11 | errors during apply, please fix and refresh eol.diff | |
|
12 | popping eol.diff | |||
12 | patch queue now empty |
|
13 | patch queue now empty | |
13 | % invalid eol |
|
14 | % invalid eol | |
14 | applying eol.diff |
|
15 | applying eol.diff | |
15 | patch failed, unable to continue (try -v) |
|
16 | patch failed, unable to continue (try -v) | |
16 | patch failed, rejects left in working dir |
|
17 | patch failed, rejects left in working dir | |
17 | errors during apply, please fix and refresh eol.diff |
|
18 | errors during apply, please fix and refresh eol.diff | |
|
19 | popping eol.diff | |||
18 | patch queue now empty |
|
20 | patch queue now empty | |
19 | % force LF |
|
21 | % force LF | |
20 | applying eol.diff |
|
22 | applying eol.diff | |
@@ -42,6 +44,7 b' y<CR><LF>' | |||||
42 | c<CR><LF> |
|
44 | c<CR><LF> | |
43 | d<CR><LF> |
|
45 | d<CR><LF> | |
44 | z |
|
46 | z | |
|
47 | popping eol.diff | |||
45 | patch queue now empty |
|
48 | patch queue now empty | |
46 | % push again forcing LF and compare revisions |
|
49 | % push again forcing LF and compare revisions | |
47 | applying eol.diff |
|
50 | applying eol.diff | |
@@ -51,6 +54,7 b' y<CR><LF>' | |||||
51 | c<CR><LF> |
|
54 | c<CR><LF> | |
52 | d<CR><LF> |
|
55 | d<CR><LF> | |
53 | z |
|
56 | z | |
|
57 | popping eol.diff | |||
54 | patch queue now empty |
|
58 | patch queue now empty | |
55 | % push again without LF and compare revisions |
|
59 | % push again without LF and compare revisions | |
56 | applying eol.diff |
|
60 | applying eol.diff | |
@@ -60,4 +64,5 b' y<CR><LF>' | |||||
60 | c<CR><LF> |
|
64 | c<CR><LF> | |
61 | d<CR><LF> |
|
65 | d<CR><LF> | |
62 | z |
|
66 | z | |
|
67 | popping eol.diff | |||
63 | patch queue now empty |
|
68 | patch queue now empty |
@@ -1,4 +1,7 b'' | |||||
1 | adding x |
|
1 | adding x | |
|
2 | popping c.patch | |||
|
3 | popping b.patch | |||
|
4 | popping a.patch | |||
2 | patch queue now empty |
|
5 | patch queue now empty | |
3 | % should fail |
|
6 | % should fail | |
4 | abort: no patch named does-not-exist.patch |
|
7 | abort: no patch named does-not-exist.patch | |
@@ -9,6 +12,7 b' now at: a.patch' | |||||
9 | % should guard a.patch |
|
12 | % should guard a.patch | |
10 | % should print +a |
|
13 | % should print +a | |
11 | a.patch: +a |
|
14 | a.patch: +a | |
|
15 | popping a.patch | |||
12 | patch queue now empty |
|
16 | patch queue now empty | |
13 | % should fail |
|
17 | % should fail | |
14 | cannot push 'a.patch' - guarded by ['+a'] |
|
18 | cannot push 'a.patch' - guarded by ['+a'] | |
@@ -16,6 +20,7 b' a.patch: +a' | |||||
16 | % should push b.patch |
|
20 | % should push b.patch | |
17 | applying b.patch |
|
21 | applying b.patch | |
18 | now at: b.patch |
|
22 | now at: b.patch | |
|
23 | popping b.patch | |||
19 | patch queue now empty |
|
24 | patch queue now empty | |
20 | % test selection of an empty guard |
|
25 | % test selection of an empty guard | |
21 | abort: guard cannot be an empty string |
|
26 | abort: guard cannot be an empty string | |
@@ -34,6 +39,9 b' b.patch' | |||||
34 | % should push c.patch |
|
39 | % should push c.patch | |
35 | applying c.patch |
|
40 | applying c.patch | |
36 | now at: c.patch |
|
41 | now at: c.patch | |
|
42 | popping c.patch | |||
|
43 | popping b.patch | |||
|
44 | popping a.patch | |||
37 | patch queue now empty |
|
45 | patch queue now empty | |
38 | guards deactivated |
|
46 | guards deactivated | |
39 | number of unguarded, unapplied patches has changed from 3 to 2 |
|
47 | number of unguarded, unapplied patches has changed from 3 to 2 | |
@@ -41,6 +49,8 b' number of unguarded, unapplied patches h' | |||||
41 | applying b.patch |
|
49 | applying b.patch | |
42 | applying c.patch |
|
50 | applying c.patch | |
43 | now at: c.patch |
|
51 | now at: c.patch | |
|
52 | popping c.patch | |||
|
53 | popping b.patch | |||
44 | patch queue now empty |
|
54 | patch queue now empty | |
45 | number of unguarded, unapplied patches has changed from 1 to 2 |
|
55 | number of unguarded, unapplied patches has changed from 1 to 2 | |
46 | % should push a.patch, not b.patch |
|
56 | % should push a.patch, not b.patch | |
@@ -48,6 +58,8 b' applying a.patch' | |||||
48 | now at: a.patch |
|
58 | now at: a.patch | |
49 | applying c.patch |
|
59 | applying c.patch | |
50 | now at: c.patch |
|
60 | now at: c.patch | |
|
61 | popping c.patch | |||
|
62 | popping a.patch | |||
51 | patch queue now empty |
|
63 | patch queue now empty | |
52 | % should push b.patch |
|
64 | % should push b.patch | |
53 | applying b.patch |
|
65 | applying b.patch | |
@@ -55,6 +67,8 b' now at: b.patch' | |||||
55 | applying c.patch |
|
67 | applying c.patch | |
56 | now at: c.patch |
|
68 | now at: c.patch | |
57 | c.patch |
|
69 | c.patch | |
|
70 | popping c.patch | |||
|
71 | popping b.patch | |||
58 | patch queue now empty |
|
72 | patch queue now empty | |
59 | number of unguarded, unapplied patches has changed from 2 to 3 |
|
73 | number of unguarded, unapplied patches has changed from 2 to 3 | |
60 | % should push a.patch, b.patch |
|
74 | % should push a.patch, b.patch | |
@@ -62,6 +76,8 b' applying a.patch' | |||||
62 | now at: a.patch |
|
76 | now at: a.patch | |
63 | applying b.patch |
|
77 | applying b.patch | |
64 | now at: b.patch |
|
78 | now at: b.patch | |
|
79 | popping b.patch | |||
|
80 | popping a.patch | |||
65 | patch queue now empty |
|
81 | patch queue now empty | |
66 | number of unguarded, unapplied patches has changed from 3 to 2 |
|
82 | number of unguarded, unapplied patches has changed from 3 to 2 | |
67 | % list patches and guards |
|
83 | % list patches and guards | |
@@ -83,6 +99,8 b' applying c.patch' | |||||
83 | now at: c.patch |
|
99 | now at: c.patch | |
84 | guards deactivated |
|
100 | guards deactivated | |
85 | popping guarded patches |
|
101 | popping guarded patches | |
|
102 | popping c.patch | |||
|
103 | popping b.patch | |||
86 | patch queue now empty |
|
104 | patch queue now empty | |
87 | reapplying unguarded patches |
|
105 | reapplying unguarded patches | |
88 | applying c.patch |
|
106 | applying c.patch | |
@@ -100,6 +118,7 b' c.patch' | |||||
100 | new.patch: +1 +2 -3 |
|
118 | new.patch: +1 +2 -3 | |
101 | b.patch: +2 |
|
119 | b.patch: +2 | |
102 | c.patch: unguarded |
|
120 | c.patch: unguarded | |
|
121 | popping d.patch | |||
103 | now at: c.patch |
|
122 | now at: c.patch | |
104 | % should show new.patch and b.patch as Guarded, c.patch as Applied |
|
123 | % should show new.patch and b.patch as Guarded, c.patch as Applied | |
105 | % and d.patch as Unapplied |
|
124 | % and d.patch as Unapplied | |
@@ -112,6 +131,7 b' 0 G new.patch' | |||||
112 | 1 G b.patch |
|
131 | 1 G b.patch | |
113 | 2 A c.patch |
|
132 | 2 A c.patch | |
114 | 3 G d.patch |
|
133 | 3 G d.patch | |
|
134 | popping c.patch | |||
115 | patch queue now empty |
|
135 | patch queue now empty | |
116 | new.patch: +1 +2 -3 |
|
136 | new.patch: +1 +2 -3 | |
117 | b.patch: +2 |
|
137 | b.patch: +2 |
@@ -42,6 +42,7 b' diff -r ... 2' | |||||
42 | +2 |
|
42 | +2 | |
43 | 1: [mq]: 2.patch - test |
|
43 | 1: [mq]: 2.patch - test | |
44 | 0: [mq]: 1.patch - test |
|
44 | 0: [mq]: 1.patch - test | |
|
45 | popping 2.patch | |||
45 | now at: 1.patch |
|
46 | now at: 1.patch | |
46 | ==== qnew -d -m |
|
47 | ==== qnew -d -m | |
47 | # HG changeset patch |
|
48 | # HG changeset patch | |
@@ -127,8 +128,10 b' diff -r ... 4' | |||||
127 | 2: Four - test |
|
128 | 2: Four - test | |
128 | 1: Three (again) - test |
|
129 | 1: Three (again) - test | |
129 | 0: [mq]: 1.patch - test |
|
130 | 0: [mq]: 1.patch - test | |
|
131 | popping 4.patch | |||
130 | now at: 3.patch |
|
132 | now at: 3.patch | |
131 | ==== qnew with HG header |
|
133 | ==== qnew with HG header | |
|
134 | popping 5.patch | |||
132 | now at: 3.patch |
|
135 | now at: 3.patch | |
133 | # HG changeset patch |
|
136 | # HG changeset patch | |
134 | # Date 10 0 |
|
137 | # Date 10 0 | |
@@ -185,6 +188,7 b' 3: [mq]: 6.patch - jane' | |||||
185 | 2: [mq]: 5.patch - test |
|
188 | 2: [mq]: 5.patch - test | |
186 | 1: Three (again) - test |
|
189 | 1: Three (again) - test | |
187 | 0: [mq]: 1.patch - test |
|
190 | 0: [mq]: 1.patch - test | |
|
191 | popping 6.patch | |||
188 | now at: 5.patch |
|
192 | now at: 5.patch | |
189 | ==== qnew -d |
|
193 | ==== qnew -d | |
190 | adding 7 |
|
194 | adding 7 | |
@@ -240,6 +244,7 b' 3: [mq]: 7.patch - john' | |||||
240 | 2: [mq]: 5.patch - test |
|
244 | 2: [mq]: 5.patch - test | |
241 | 1: Three (again) - test |
|
245 | 1: Three (again) - test | |
242 | 0: [mq]: 1.patch - test |
|
246 | 0: [mq]: 1.patch - test | |
|
247 | popping 8.patch | |||
243 | now at: 7.patch |
|
248 | now at: 7.patch | |
244 | ==== qnew -m |
|
249 | ==== qnew -m | |
245 | adding 9 |
|
250 | adding 9 | |
@@ -270,8 +275,13 b' 3: [mq]: 7.patch - john' | |||||
270 | 2: [mq]: 5.patch - test |
|
275 | 2: [mq]: 5.patch - test | |
271 | 1: Three (again) - test |
|
276 | 1: Three (again) - test | |
272 | 0: [mq]: 1.patch - test |
|
277 | 0: [mq]: 1.patch - test | |
|
278 | popping 9.patch | |||
273 | now at: 7.patch |
|
279 | now at: 7.patch | |
274 | ==== qpop -a / qpush -a |
|
280 | ==== qpop -a / qpush -a | |
|
281 | popping 7.patch | |||
|
282 | popping 5.patch | |||
|
283 | popping 3.patch | |||
|
284 | popping 1.patch | |||
275 | patch queue now empty |
|
285 | patch queue now empty | |
276 | applying 1.patch |
|
286 | applying 1.patch | |
277 | applying 3.patch |
|
287 | applying 3.patch |
@@ -131,6 +131,7 b' 2: Three (again) - maria' | |||||
131 | 1: [mq]: 2.patch - jane |
|
131 | 1: [mq]: 2.patch - jane | |
132 | 0: [mq]: 1.patch - mary |
|
132 | 0: [mq]: 1.patch - mary | |
133 | ==== qnew with HG header |
|
133 | ==== qnew with HG header | |
|
134 | popping 5.patch | |||
134 | now at: 4.patch |
|
135 | now at: 4.patch | |
135 | now at: 5.patch |
|
136 | now at: 5.patch | |
136 | # HG changeset patch |
|
137 | # HG changeset patch | |
@@ -184,6 +185,11 b' 2: Three (again) - maria' | |||||
184 | 1: [mq]: 2.patch - jane |
|
185 | 1: [mq]: 2.patch - jane | |
185 | 0: [mq]: 1.patch - mary |
|
186 | 0: [mq]: 1.patch - mary | |
186 | ==== qpop -a / qpush -a |
|
187 | ==== qpop -a / qpush -a | |
|
188 | popping 5.patch | |||
|
189 | popping 4.patch | |||
|
190 | popping 3.patch | |||
|
191 | popping 2.patch | |||
|
192 | popping 1.patch | |||
187 | patch queue now empty |
|
193 | patch queue now empty | |
188 | applying 1.patch |
|
194 | applying 1.patch | |
189 | applying 2.patch |
|
195 | applying 2.patch |
@@ -10,6 +10,8 b' merging with queue at: .hg/patches.1' | |||||
10 | applying rm_a |
|
10 | applying rm_a | |
11 | now at: rm_a |
|
11 | now at: rm_a | |
12 | b |
|
12 | b | |
|
13 | popping rm_a | |||
|
14 | popping .hg.patches.merge.marker | |||
13 | patch queue now empty |
|
15 | patch queue now empty | |
14 |
|
16 | |||
15 | % init t2 |
|
17 | % init t2 |
@@ -1,4 +1,5 b'' | |||||
1 | adding b |
|
1 | adding b | |
|
2 | popping changeb | |||
2 | patch queue now empty |
|
3 | patch queue now empty | |
3 | % push patch with missing target |
|
4 | % push patch with missing target | |
4 | applying changeb |
|
5 | applying changeb | |
@@ -26,6 +27,7 b' c' | |||||
26 | +c |
|
27 | +c | |
27 | +c |
|
28 | +c | |
28 | adding b |
|
29 | adding b | |
|
30 | popping changeb | |||
29 | patch queue now empty |
|
31 | patch queue now empty | |
30 | % push git patch with missing target |
|
32 | % push git patch with missing target | |
31 | applying changeb |
|
33 | applying changeb | |
@@ -48,6 +50,7 b' Jc${No0000400IC2' | |||||
48 |
|
50 | |||
49 | % test push creating directory during git copy or rename |
|
51 | % test push creating directory during git copy or rename | |
50 | adding a |
|
52 | adding a | |
|
53 | popping patch | |||
51 | patch queue now empty |
|
54 | patch queue now empty | |
52 | applying patch |
|
55 | applying patch | |
53 | now at: patch |
|
56 | now at: patch |
@@ -13,6 +13,7 b' 0: main: one added.' | |||||
13 | 1: main: one updated. |
|
13 | 1: main: one updated. | |
14 | ====== Setup queue |
|
14 | ====== Setup queue | |
15 | adding two |
|
15 | adding two | |
|
16 | popping two.patch | |||
16 | patch queue now empty |
|
17 | patch queue now empty | |
17 | ====== Bundle queue |
|
18 | ====== Bundle queue | |
18 | 1 changesets found |
|
19 | 1 changesets found |
@@ -1,6 +1,7 b'' | |||||
1 | adding base |
|
1 | adding base | |
2 | abort: qdelete requires at least one revision or patch name |
|
2 | abort: qdelete requires at least one revision or patch name | |
3 | abort: cannot delete applied patch c |
|
3 | abort: cannot delete applied patch c | |
|
4 | popping c | |||
4 | now at: b |
|
5 | now at: b | |
5 | a |
|
6 | a | |
6 | b |
|
7 | b | |
@@ -8,6 +9,7 b' a' | |||||
8 | b |
|
9 | b | |
9 | series |
|
10 | series | |
10 | status |
|
11 | status | |
|
12 | popping b | |||
11 | now at: a |
|
13 | now at: a | |
12 | a |
|
14 | a | |
13 | b |
|
15 | b | |
@@ -30,6 +32,7 b' abort: no revisions specified' | |||||
30 | no patches applied |
|
32 | no patches applied | |
31 | abort: revision 0 is not managed |
|
33 | abort: revision 0 is not managed | |
32 | abort: cannot delete revision 2 above applied patches |
|
34 | abort: cannot delete revision 2 above applied patches | |
|
35 | popping c | |||
33 | now at: b |
|
36 | now at: b | |
34 | abort: unknown revision 'c'! |
|
37 | abort: unknown revision 'c'! | |
35 | applying c |
|
38 | applying c |
@@ -26,6 +26,7 b' diff -r 67e992f2c4f3 base' | |||||
26 | +patched |
|
26 | +patched | |
27 | % revert |
|
27 | % revert | |
28 | % qpop |
|
28 | % qpop | |
|
29 | popping mqbase | |||
29 | patch queue now empty |
|
30 | patch queue now empty | |
30 | % qdelete mqbase |
|
31 | % qdelete mqbase | |
31 | % commit 2 |
|
32 | % commit 2 |
@@ -1,6 +1,8 b'' | |||||
1 | % init |
|
1 | % init | |
2 | adding a |
|
2 | adding a | |
3 | % fold in the middle of the queue |
|
3 | % fold in the middle of the queue | |
|
4 | popping p3 | |||
|
5 | popping p2 | |||
4 | now at: p1 |
|
6 | now at: p1 | |
5 | --- a/a |
|
7 | --- a/a | |
6 | +++ b/a |
|
8 | +++ b/a |
@@ -1,17 +1,24 b'' | |||||
1 | adding a |
|
1 | adding a | |
|
2 | popping c.patch | |||
|
3 | popping b.patch | |||
2 | now at: a.patch |
|
4 | now at: a.patch | |
3 | applying b.patch |
|
5 | applying b.patch | |
4 | applying c.patch |
|
6 | applying c.patch | |
5 | now at: c.patch |
|
7 | now at: c.patch | |
|
8 | popping c.patch | |||
6 | now at: b.patch |
|
9 | now at: b.patch | |
7 |
|
10 | |||
8 | % Using index |
|
11 | % Using index | |
|
12 | popping b.patch | |||
9 | now at: a.patch |
|
13 | now at: a.patch | |
10 | applying b.patch |
|
14 | applying b.patch | |
11 | applying c.patch |
|
15 | applying c.patch | |
12 | now at: c.patch |
|
16 | now at: c.patch | |
13 |
|
17 | |||
14 | % No warnings when using index |
|
18 | % No warnings when using index | |
|
19 | popping bug141421 | |||
|
20 | popping bug314159 | |||
|
21 | popping c.patch | |||
15 | now at: b.patch |
|
22 | now at: b.patch | |
16 | applying c.patch |
|
23 | applying c.patch | |
17 | applying bug314159 |
|
24 | applying bug314159 |
@@ -8,12 +8,14 b' abort: patch "url.diff" already exists' | |||||
8 | applying url.diff |
|
8 | applying url.diff | |
9 | now at: url.diff |
|
9 | now at: url.diff | |
10 | foo |
|
10 | foo | |
|
11 | popping url.diff | |||
11 | patch queue now empty |
|
12 | patch queue now empty | |
12 | % qimport -f |
|
13 | % qimport -f | |
13 | adding url.diff to series file |
|
14 | adding url.diff to series file | |
14 | applying url.diff |
|
15 | applying url.diff | |
15 | now at: url.diff |
|
16 | now at: url.diff | |
16 | foo2 |
|
17 | foo2 | |
|
18 | popping url.diff | |||
17 | patch queue now empty |
|
19 | patch queue now empty | |
18 | % build diff with CRLF |
|
20 | % build diff with CRLF | |
19 | adding b |
|
21 | adding b |
@@ -20,6 +20,9 b' foo bar' | |||||
20 | abort: patch "first.patch" already exists |
|
20 | abort: patch "first.patch" already exists | |
21 | abort: patch "first.patch" already exists |
|
21 | abort: patch "first.patch" already exists | |
22 | % qnew -f from a subdirectory |
|
22 | % qnew -f from a subdirectory | |
|
23 | popping first.patch | |||
|
24 | popping mtest.patch | |||
|
25 | popping test.patch | |||
23 | patch queue now empty |
|
26 | patch queue now empty | |
24 | adding d/b |
|
27 | adding d/b | |
25 | M d/b |
|
28 | M d/b |
@@ -1,6 +1,9 b'' | |||||
1 | adding foo |
|
1 | adding foo | |
2 | % test qpush on empty series |
|
2 | % test qpush on empty series | |
3 | no patches in series |
|
3 | no patches in series | |
|
4 | popping bad-patch | |||
|
5 | popping patch2 | |||
|
6 | popping patch1 | |||
4 | patch queue now empty |
|
7 | patch queue now empty | |
5 | applying patch1 |
|
8 | applying patch1 | |
6 | applying patch2 |
|
9 | applying patch2 |
@@ -1,9 +1,11 b'' | |||||
1 | a -> a not a symlink |
|
1 | a -> a not a symlink | |
2 | a -> b |
|
2 | a -> b | |
|
3 | popping symlink.patch | |||
3 | now at: base.patch |
|
4 | now at: base.patch | |
4 | applying symlink.patch |
|
5 | applying symlink.patch | |
5 | now at: symlink.patch |
|
6 | now at: symlink.patch | |
6 | a -> b |
|
7 | a -> b | |
|
8 | popping removesl.patch | |||
7 | now at: symlink.patch |
|
9 | now at: symlink.patch | |
8 | applying removesl.patch |
|
10 | applying removesl.patch | |
9 | now at: removesl.patch |
|
11 | now at: removesl.patch |
@@ -108,16 +108,20 b' working dir diff:' | |||||
108 | a |
|
108 | a | |
109 | +a |
|
109 | +a | |
110 | % qpop |
|
110 | % qpop | |
|
111 | popping test.patch | |||
111 | patch queue now empty |
|
112 | patch queue now empty | |
112 | % qpush |
|
113 | % qpush | |
113 | applying test.patch |
|
114 | applying test.patch | |
114 | now at: test.patch |
|
115 | now at: test.patch | |
115 | % pop/push outside repo |
|
116 | % pop/push outside repo | |
|
117 | popping test.patch | |||
116 | patch queue now empty |
|
118 | patch queue now empty | |
117 | applying test.patch |
|
119 | applying test.patch | |
118 | now at: test.patch |
|
120 | now at: test.patch | |
119 | % qrefresh in subdir |
|
121 | % qrefresh in subdir | |
120 | % pop/push -a in subdir |
|
122 | % pop/push -a in subdir | |
|
123 | popping test2.patch | |||
|
124 | popping test.patch | |||
121 | patch queue now empty |
|
125 | patch queue now empty | |
122 | applying test.patch |
|
126 | applying test.patch | |
123 | applying test2.patch |
|
127 | applying test2.patch | |
@@ -125,6 +129,7 b' now at: test2.patch' | |||||
125 | % qseries |
|
129 | % qseries | |
126 | test.patch |
|
130 | test.patch | |
127 | test2.patch |
|
131 | test2.patch | |
|
132 | popping test2.patch | |||
128 | now at: test.patch |
|
133 | now at: test.patch | |
129 | 0 A test.patch: foo bar |
|
134 | 0 A test.patch: foo bar | |
130 | 1 U test2.patch: |
|
135 | 1 U test2.patch: | |
@@ -140,6 +145,7 b' test.patch' | |||||
140 | % qnext |
|
145 | % qnext | |
141 | all patches applied |
|
146 | all patches applied | |
142 | % pop, qnext, qprev, qapplied |
|
147 | % pop, qnext, qprev, qapplied | |
|
148 | popping test2.patch | |||
143 | now at: test.patch |
|
149 | now at: test.patch | |
144 | test2.patch |
|
150 | test2.patch | |
145 | only one patch applied |
|
151 | only one patch applied | |
@@ -156,17 +162,24 b' test2.patch' | |||||
156 | % qpush/qpop with index |
|
162 | % qpush/qpop with index | |
157 | applying test2.patch |
|
163 | applying test2.patch | |
158 | now at: test2.patch |
|
164 | now at: test2.patch | |
|
165 | popping test2.patch | |||
|
166 | popping test1b.patch | |||
159 | now at: test.patch |
|
167 | now at: test.patch | |
160 | applying test1b.patch |
|
168 | applying test1b.patch | |
161 | now at: test1b.patch |
|
169 | now at: test1b.patch | |
162 | applying test2.patch |
|
170 | applying test2.patch | |
163 | now at: test2.patch |
|
171 | now at: test2.patch | |
|
172 | popping test2.patch | |||
164 | now at: test1b.patch |
|
173 | now at: test1b.patch | |
|
174 | popping test1b.patch | |||
165 | now at: test.patch |
|
175 | now at: test.patch | |
166 | applying test1b.patch |
|
176 | applying test1b.patch | |
167 | applying test2.patch |
|
177 | applying test2.patch | |
168 | now at: test2.patch |
|
178 | now at: test2.patch | |
169 | % push should succeed |
|
179 | % push should succeed | |
|
180 | popping test2.patch | |||
|
181 | popping test1b.patch | |||
|
182 | popping test.patch | |||
170 | patch queue now empty |
|
183 | patch queue now empty | |
171 | pushing to ../../k |
|
184 | pushing to ../../k | |
172 | searching for changes |
|
185 | searching for changes | |
@@ -180,6 +193,9 b' applying test1b.patch' | |||||
180 | applying test2.patch |
|
193 | applying test2.patch | |
181 | now at: test2.patch |
|
194 | now at: test2.patch | |
182 | % pops all patches and succeeds |
|
195 | % pops all patches and succeeds | |
|
196 | popping test2.patch | |||
|
197 | popping test1b.patch | |||
|
198 | popping test.patch | |||
183 | patch queue now empty |
|
199 | patch queue now empty | |
184 | qpop -a succeeds |
|
200 | qpop -a succeeds | |
185 | % does nothing and succeeds |
|
201 | % does nothing and succeeds | |
@@ -193,6 +209,7 b' applying test.patch' | |||||
193 | now at: test.patch |
|
209 | now at: test.patch | |
194 | qpush succeeds |
|
210 | qpush succeeds | |
195 | % pops a patch and succeeds |
|
211 | % pops a patch and succeeds | |
|
212 | popping test.patch | |||
196 | patch queue now empty |
|
213 | patch queue now empty | |
197 | qpop succeeds |
|
214 | qpop succeeds | |
198 | % pushes up to test1b.patch and succeeds |
|
215 | % pushes up to test1b.patch and succeeds | |
@@ -213,6 +230,7 b' abort: cannot push to a previous patch: ' | |||||
213 | abort: patch test2.patch is not applied |
|
230 | abort: patch test2.patch is not applied | |
214 | qpop test2.patch fails |
|
231 | qpop test2.patch fails | |
215 | % pops up to test.patch and succeeds |
|
232 | % pops up to test.patch and succeeds | |
|
233 | popping test1b.patch | |||
216 | now at: test.patch |
|
234 | now at: test.patch | |
217 | qpop test.patch succeeds |
|
235 | qpop test.patch succeeds | |
218 | % pushes all patches and succeeds |
|
236 | % pushes all patches and succeeds | |
@@ -269,6 +287,8 b' diff -r cb9a9f314b8b b/f' | |||||
269 | +f |
|
287 | +f | |
270 | M a |
|
288 | M a | |
271 | % qpush failure |
|
289 | % qpush failure | |
|
290 | popping bar | |||
|
291 | popping foo | |||
272 | patch queue now empty |
|
292 | patch queue now empty | |
273 | applying foo |
|
293 | applying foo | |
274 | applying bar |
|
294 | applying bar | |
@@ -284,6 +304,7 b' 0 qparent' | |||||
284 | 1 qbase foo |
|
304 | 1 qbase foo | |
285 | 2 qtip bar tip |
|
305 | 2 qtip bar tip | |
286 | % bad node in status |
|
306 | % bad node in status | |
|
307 | popping bar | |||
287 | now at: foo |
|
308 | now at: foo | |
288 | changeset: 0:cb9a9f314b8b |
|
309 | changeset: 0:cb9a9f314b8b | |
289 | mq status file refers to unknown node |
|
310 | mq status file refers to unknown node | |
@@ -308,6 +329,7 b' copy file' | |||||
308 | diff --git a/new b/copy |
|
329 | diff --git a/new b/copy | |
309 | copy from new |
|
330 | copy from new | |
310 | copy to copy |
|
331 | copy to copy | |
|
332 | popping copy | |||
311 | now at: new |
|
333 | now at: new | |
312 | applying copy |
|
334 | applying copy | |
313 | now at: copy |
|
335 | now at: copy | |
@@ -320,6 +342,7 b' copy to copy' | |||||
320 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
342 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved | |
321 | created new head |
|
343 | created new head | |
322 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
344 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
|
345 | popping bar | |||
323 | adding branch |
|
346 | adding branch | |
324 | adding changesets |
|
347 | adding changesets | |
325 | adding manifests |
|
348 | adding manifests | |
@@ -354,6 +377,7 b' diff --git a/foo b/baz' | |||||
354 |
|
377 | |||
355 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved |
|
378 | 1 files updated, 0 files merged, 2 files removed, 0 files unresolved | |
356 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved |
|
379 | 2 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
|
380 | popping bar | |||
357 | adding branch |
|
381 | adding branch | |
358 | adding changesets |
|
382 | adding changesets | |
359 | adding manifests |
|
383 | adding manifests | |
@@ -386,6 +410,7 b' 3 barney (foo)' | |||||
386 | % refresh omitting an added file |
|
410 | % refresh omitting an added file | |
387 | C newfile |
|
411 | C newfile | |
388 | A newfile |
|
412 | A newfile | |
|
413 | popping baz | |||
389 | now at: bar |
|
414 | now at: bar | |
390 | % create a git patch |
|
415 | % create a git patch | |
391 | diff --git a/alexander b/alexander |
|
416 | diff --git a/alexander b/alexander | |
@@ -393,6 +418,7 b' diff --git a/alexander b/alexander' | |||||
393 | 8ba2a2f3e77b55d03051ff9c24ad65e7 bucephalus |
|
418 | 8ba2a2f3e77b55d03051ff9c24ad65e7 bucephalus | |
394 | diff --git a/bucephalus b/bucephalus |
|
419 | diff --git a/bucephalus b/bucephalus | |
395 | % check binary patches can be popped and pushed |
|
420 | % check binary patches can be popped and pushed | |
|
421 | popping addbucephalus | |||
396 | now at: addalexander |
|
422 | now at: addalexander | |
397 | applying addbucephalus |
|
423 | applying addbucephalus | |
398 | now at: addbucephalus |
|
424 | now at: addbucephalus | |
@@ -461,6 +487,7 b' main repo:' | |||||
461 | rev 0: add foo |
|
487 | rev 0: add foo | |
462 | patch repo: |
|
488 | patch repo: | |
463 | rev 0: checkpoint |
|
489 | rev 0: checkpoint | |
|
490 | popping patch1 | |||
464 | patch queue now empty |
|
491 | patch queue now empty | |
465 | main repo: |
|
492 | main repo: | |
466 | rev 0: add foo |
|
493 | rev 0: add foo | |
@@ -475,12 +502,14 b' patch repo:' | |||||
475 | rev 0: checkpoint |
|
502 | rev 0: checkpoint | |
476 | % test applying on an empty file (issue 1033) |
|
503 | % test applying on an empty file (issue 1033) | |
477 | adding a |
|
504 | adding a | |
|
505 | popping changea | |||
478 | patch queue now empty |
|
506 | patch queue now empty | |
479 | applying changea |
|
507 | applying changea | |
480 | now at: changea |
|
508 | now at: changea | |
481 | % test qpush with --force, issue1087 |
|
509 | % test qpush with --force, issue1087 | |
482 | adding bye.txt |
|
510 | adding bye.txt | |
483 | adding hello.txt |
|
511 | adding hello.txt | |
|
512 | popping empty | |||
484 | patch queue now empty |
|
513 | patch queue now empty | |
485 | % qpush should fail, local changes |
|
514 | % qpush should fail, local changes | |
486 | abort: local changes found, refresh first |
|
515 | abort: local changes found, refresh first | |
@@ -510,6 +539,7 b' date: Thu Jan 01 00:00:00 1970 +0' | |||||
510 | summary: imported patch empty |
|
539 | summary: imported patch empty | |
511 |
|
540 | |||
512 |
|
541 | |||
|
542 | popping empty | |||
513 | patch queue now empty |
|
543 | patch queue now empty | |
514 | % qpush should fail, local changes |
|
544 | % qpush should fail, local changes | |
515 | abort: local changes found, refresh first |
|
545 | abort: local changes found, refresh first | |
@@ -539,4 +569,5 b' diff -r 9ecee4f634e3 hello.txt' | |||||
539 | % test popping revisions not in working dir ancestry |
|
569 | % test popping revisions not in working dir ancestry | |
540 | 0 A empty |
|
570 | 0 A empty | |
541 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
571 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
|
572 | popping empty | |||
542 | patch queue now empty |
|
573 | patch queue now empty |
@@ -79,6 +79,8 b' diff -r x -r y f' | |||||
79 | +mq1r1mq2 |
|
79 | +mq1r1mq2 | |
80 |
|
80 | |||
81 | % Adding one git-style patch and one normal |
|
81 | % Adding one git-style patch and one normal | |
|
82 | popping f2.patch | |||
|
83 | popping f.patch | |||
82 | patch queue now empty |
|
84 | patch queue now empty | |
83 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
|
85 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
84 | % Git patch |
|
86 | % Git patch |
General Comments 0
You need to be logged in to leave comments.
Login now