# HG changeset patch # User Patrick Mezard # Date 1176410510 -7200 # Node ID 23068518deca2ceeee218c70633f7afb002fa75f # Parent 66a3fe30f9fc7ec3d66af1b8f18cce325bbb133a mq: test qtop with holes in the patch sequence. diff -r 66a3fe30f9fc -r 23068518deca tests/test-mq-guards --- a/tests/test-mq-guards Tue Apr 10 12:24:28 2007 -0500 +++ b/tests/test-mq-guards Thu Apr 12 22:41:50 2007 +0200 @@ -76,6 +76,10 @@ hg qselect 2 echo % should push b.patch hg qpush +hg qpush -a +# Used to be an issue with holes in the patch sequence +# So, put one hole on the base and ask for topmost patch. +hg qtop hg qpop -a hg qselect 1 2 diff -r 66a3fe30f9fc -r 23068518deca tests/test-mq-guards.out --- a/tests/test-mq-guards.out Tue Apr 10 12:24:28 2007 -0500 +++ b/tests/test-mq-guards.out Thu Apr 12 22:41:50 2007 +0200 @@ -46,6 +46,9 @@ % should push b.patch applying b.patch Now at: b.patch +applying c.patch +Now at: c.patch +c.patch Patch queue now empty number of unguarded, unapplied patches has changed from 2 to 3 % should push a.patch, b.patch