test-mq-guards.out
225 lines
| 4.4 KiB
| text/plain
|
TextLexer
/ tests / test-mq-guards.out
Vadim Gelfer
|
r2826 | adding x | ||
Mads Kiilerich
|
r9110 | popping c.patch | ||
popping b.patch | ||||
popping a.patch | ||||
Martin Geisler
|
r7627 | patch queue now empty | ||
Vadim Gelfer
|
r2826 | % should fail | ||
Christian Ebert
|
r4133 | abort: no patch named does-not-exist.patch | ||
% should fail | ||||
Vadim Gelfer
|
r2826 | abort: no patches applied | ||
applying a.patch | ||||
Martin Geisler
|
r7627 | now at: a.patch | ||
Vadim Gelfer
|
r2826 | % should guard a.patch | ||
% should print +a | ||||
a.patch: +a | ||||
Mads Kiilerich
|
r9110 | popping a.patch | ||
Martin Geisler
|
r7627 | patch queue now empty | ||
Brendan Cully
|
r7398 | % should fail | ||
cannot push 'a.patch' - guarded by ['+a'] | ||||
Vadim Gelfer
|
r2826 | a.patch: +a | ||
% should push b.patch | ||||
applying b.patch | ||||
Martin Geisler
|
r7627 | now at: b.patch | ||
Mads Kiilerich
|
r9110 | popping b.patch | ||
Martin Geisler
|
r7627 | patch queue now empty | ||
Patrick Mezard
|
r6607 | % test selection of an empty guard | ||
abort: guard cannot be an empty string | ||||
Vadim Gelfer
|
r2844 | number of unguarded, unapplied patches has changed from 2 to 3 | ||
Vadim Gelfer
|
r2826 | % should push a.patch | ||
applying a.patch | ||||
Martin Geisler
|
r7627 | now at: a.patch | ||
Vadim Gelfer
|
r2826 | % should print -a | ||
c.patch: -a | ||||
% should skip c.patch | ||||
applying b.patch | ||||
Thomas Arendsen Hein
|
r3873 | skipping c.patch - guarded by '-a' | ||
Martin Geisler
|
r7627 | now at: b.patch | ||
Matt Mackall
|
r9439 | % should display b.patch | ||
b.patch | ||||
Vadim Gelfer
|
r2826 | % should push c.patch | ||
applying c.patch | ||||
Martin Geisler
|
r7627 | now at: c.patch | ||
Mads Kiilerich
|
r9110 | popping c.patch | ||
popping b.patch | ||||
popping a.patch | ||||
Martin Geisler
|
r7627 | patch queue now empty | ||
Vadim Gelfer
|
r2826 | guards deactivated | ||
Vadim Gelfer
|
r2844 | number of unguarded, unapplied patches has changed from 3 to 2 | ||
Vadim Gelfer
|
r2829 | % should push all | ||
Vadim Gelfer
|
r2826 | applying b.patch | ||
applying c.patch | ||||
Martin Geisler
|
r7627 | now at: c.patch | ||
Mads Kiilerich
|
r9110 | popping c.patch | ||
popping b.patch | ||||
Martin Geisler
|
r7627 | patch queue now empty | ||
Vadim Gelfer
|
r2850 | number of unguarded, unapplied patches has changed from 1 to 2 | ||
% should push a.patch, not b.patch | ||||
applying a.patch | ||||
Martin Geisler
|
r7627 | now at: a.patch | ||
Vadim Gelfer
|
r2850 | applying c.patch | ||
Martin Geisler
|
r7627 | now at: c.patch | ||
Mads Kiilerich
|
r9110 | popping c.patch | ||
popping a.patch | ||||
Martin Geisler
|
r7627 | patch queue now empty | ||
Vadim Gelfer
|
r2829 | % should push b.patch | ||
applying b.patch | ||||
Martin Geisler
|
r7627 | now at: b.patch | ||
Patrick Mezard
|
r4340 | applying c.patch | ||
Martin Geisler
|
r7627 | now at: c.patch | ||
Matt Mackall
|
r9439 | c.patch | ||
Mads Kiilerich
|
r9110 | popping c.patch | ||
popping b.patch | ||||
Martin Geisler
|
r7627 | patch queue now empty | ||
Vadim Gelfer
|
r2850 | number of unguarded, unapplied patches has changed from 2 to 3 | ||
% should push a.patch, b.patch | ||||
applying a.patch | ||||
Martin Geisler
|
r7627 | now at: a.patch | ||
Vadim Gelfer
|
r2829 | applying b.patch | ||
Martin Geisler
|
r7627 | now at: b.patch | ||
Mads Kiilerich
|
r9110 | popping b.patch | ||
popping a.patch | ||||
Martin Geisler
|
r7627 | patch queue now empty | ||
Vadim Gelfer
|
r2844 | number of unguarded, unapplied patches has changed from 3 to 2 | ||
Vadim Gelfer
|
r2850 | % list patches and guards | ||
a.patch: +1 +2 -3 | ||||
b.patch: +2 | ||||
c.patch: unguarded | ||||
Dan Villiom Podlaski Christiansen
|
r11819 | % have at least one patch applied to test coloring | ||
applying b.patch | ||||
now at: b.patch | ||||
Brodie Rao
|
r10826 | % list patches and guards with color | ||
Dan Villiom Podlaski Christiansen
|
r11819 | [0;30;1ma.patch[0m: [0;33m+1[0m [0;33m+2[0m [0;31m-3[0m | ||
[0;34;1;4mb.patch[0m: [0;33m+2[0m | ||||
[0;30;1mc.patch[0m: [0;32munguarded[0m | ||||
% should pop b.patch | ||||
popping b.patch | ||||
patch queue now empty | ||||
Vadim Gelfer
|
r2850 | % list series | ||
0 G a.patch | ||||
1 U b.patch | ||||
2 U c.patch | ||||
% list guards | ||||
1 | ||||
2 | ||||
3 | ||||
Vadim Gelfer
|
r2829 | % should push b.patch | ||
applying b.patch | ||||
Martin Geisler
|
r7627 | now at: b.patch | ||
Vadim Gelfer
|
r2844 | applying c.patch | ||
Martin Geisler
|
r7627 | now at: c.patch | ||
Vadim Gelfer
|
r2844 | guards deactivated | ||
popping guarded patches | ||||
Mads Kiilerich
|
r9110 | popping c.patch | ||
popping b.patch | ||||
Martin Geisler
|
r7627 | patch queue now empty | ||
Vadim Gelfer
|
r2844 | reapplying unguarded patches | ||
applying c.patch | ||||
Martin Geisler
|
r7627 | now at: c.patch | ||
Vadim Gelfer
|
r2850 | % guards in series file: +1 +2 -3 | ||
+1 | ||||
+2 | ||||
-3 | ||||
% should show c.patch | ||||
c.patch | ||||
Mathieu Clabaut
|
r3685 | % should show : | ||
% new.patch: +1 +2 -3 | ||||
% b.patch: +2 | ||||
% c.patch: unguarded | ||||
new.patch: +1 +2 -3 | ||||
b.patch: +2 | ||||
c.patch: unguarded | ||||
Mads Kiilerich
|
r9110 | popping d.patch | ||
Martin Geisler
|
r7627 | now at: c.patch | ||
Alexis S. L. Carvalho
|
r3763 | % should show new.patch and b.patch as Guarded, c.patch as Applied | ||
% and d.patch as Unapplied | ||||
0 G new.patch | ||||
1 G b.patch | ||||
2 A c.patch | ||||
3 U d.patch | ||||
Brodie Rao
|
r10826 | % qseries again, but with color | ||
Dan Villiom Podlaski Christiansen
|
r10932 | 0 G [0;30;1mnew.patch[0m | ||
1 G [0;30;1mb.patch[0m | ||||
2 A [0;34;1;4mc.patch[0m | ||||
3 U [0;30;1md.patch[0m | ||||
Alexis S. L. Carvalho
|
r3763 | % new.patch, b.patch: Guarded. c.patch: Applied. d.patch: Guarded. | ||
0 G new.patch | ||||
1 G b.patch | ||||
2 A c.patch | ||||
3 G d.patch | ||||
Mads Kiilerich
|
r9110 | popping c.patch | ||
Martin Geisler
|
r7627 | patch queue now empty | ||
Thomas Arendsen Hein
|
r4240 | new.patch: +1 +2 -3 | ||
b.patch: +2 | ||||
c.patch: unguarded | ||||
d.patch: +2 | ||||
% hg qapplied | ||||
% hg qapplied -v | ||||
% hg qunapplied | ||||
c.patch | ||||
% hg qunapplied -v | ||||
0 G new.patch | ||||
1 G b.patch | ||||
2 U c.patch | ||||
3 G d.patch | ||||
number of unguarded, unapplied patches has changed from 1 to 2 | ||||
% hg qapplied | ||||
% hg qapplied -v | ||||
% hg qunapplied | ||||
new.patch | ||||
c.patch | ||||
% hg qunapplied -v | ||||
0 U new.patch | ||||
1 G b.patch | ||||
2 U c.patch | ||||
3 G d.patch | ||||
applying new.patch | ||||
skipping b.patch - guarded by ['+2'] | ||||
applying c.patch | ||||
skipping d.patch - guarded by ['+2'] | ||||
Martin Geisler
|
r7627 | now at: c.patch | ||
Thomas Arendsen Hein
|
r4240 | % hg qapplied | ||
new.patch | ||||
c.patch | ||||
% hg qapplied -v | ||||
0 A new.patch | ||||
1 G b.patch | ||||
2 A c.patch | ||||
% hg qunapplied | ||||
% hg qunapplied -v | ||||
3 G d.patch | ||||
number of unguarded, unapplied patches has changed from 0 to 1 | ||||
number of guarded, applied patches has changed from 1 to 0 | ||||
% hg qapplied | ||||
new.patch | ||||
c.patch | ||||
% hg qapplied -v | ||||
0 A new.patch | ||||
1 U b.patch | ||||
2 A c.patch | ||||
% hg qunapplied | ||||
d.patch | ||||
% hg qunapplied -v | ||||
3 U d.patch | ||||
% hg qapplied new.patch | ||||
new.patch | ||||
% hg qunapplied new.patch | ||||
b.patch | ||||
d.patch | ||||
% hg qapplied b.patch | ||||
new.patch | ||||
% hg qunapplied b.patch | ||||
d.patch | ||||
% hg qapplied c.patch | ||||
new.patch | ||||
c.patch | ||||
% hg qunapplied c.patch | ||||
d.patch | ||||
% hg qapplied d.patch | ||||
new.patch | ||||
c.patch | ||||
% hg qunapplied d.patch | ||||
Thomas Arendsen Hein
|
r4241 | % hg qseries -m: only b.patch should be shown | ||
the guards file was not ignored in the past | ||||
b.patch | ||||
Brodie Rao
|
r10826 | % hg qseries -m with color | ||
[0;31;1mb.patch[0m | ||||