diff tests/test-mq @ 3087:760414dc7ac6

Added tests for qpush/qpop with index.
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 12 Sep 2006 17:26:20 +0200
parents a4374f7331e4
children 534806df5b5a
line wrap: on
line diff
--- a/tests/test-mq	Mon Sep 11 10:23:23 2006 +0200
+++ b/tests/test-mq	Tue Sep 12 17:26:20 2006 +0200
@@ -115,6 +115,19 @@
 echo % qunapplied
 hg qunapplied
 
+echo % qpush/qpop with index
+hg qnew test1b.patch
+echo 1b > 1b
+hg add 1b
+hg qrefresh
+hg qpush 2
+hg qpop 0
+hg qpush test.patch+1
+hg qpush test.patch+2
+hg qpop test2.patch-1
+hg qpop test2.patch-2
+hg qpush test1b.patch+1
+
 echo % push should succeed
 hg qpop -a
 hg push ../../k