Test qtop breaking when series ends with guarded patches.
authorPatrick Mezard <pmezard@gmail.com>
Sun, 06 May 2007 18:19:25 +0200
changeset 4407 8369672060b5
parent 4403 249e2603324c
child 4408 f700ea2b0689
Test qtop breaking when series ends with guarded patches.
tests/test-mq-guards
tests/test-mq-guards.out
--- a/tests/test-mq-guards
+++ b/tests/test-mq-guards
@@ -54,6 +54,8 @@ hg qguard c.patch
 
 echo % should skip c.patch
 hg qpush -a
+echo % should display b.patch
+hg qtop
 
 hg qguard -n c.patch
 echo % should push c.patch
--- a/tests/test-mq-guards.out
+++ b/tests/test-mq-guards.out
@@ -25,6 +25,8 @@ c.patch: -a
 applying b.patch
 skipping c.patch - guarded by '-a'
 Now at: b.patch
+% should display b.patch
+b.patch
 % should push c.patch
 applying c.patch
 Now at: c.patch