tests/test-mq-qgoto
changeset 7568 12df451ce205
parent 4432 905397be7688
--- a/tests/test-mq-qgoto	Mon Jan 05 14:34:20 2009 +0100
+++ b/tests/test-mq-qgoto	Tue Jan 06 10:30:22 2009 +0100
@@ -25,3 +25,25 @@
 hg qgoto a.patch
 hg qgoto c.patch
 hg qgoto b.patch
+
+echo
+echo % Using index
+hg qgoto 0
+hg qgoto 2
+
+echo
+echo % No warnings when using index
+hg qnew bug314159
+echo d >> c
+hg qrefresh
+hg qnew bug141421
+echo e >> c
+hg qrefresh
+hg qgoto 1
+hg qgoto 3
+
+echo
+echo % Detect ambiguous non-index
+hg qgoto 14
+
+exit 0