Test qtop breaking when series ends with guarded patches.
--- 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