tests/test-mq-strip
branchstable
changeset 11637 64f284da1278
parent 11208 2313dc4d9817
child 11789 e2bce1c717fa
--- a/tests/test-mq-strip	Tue Jul 20 18:29:00 2010 +0900
+++ b/tests/test-mq-strip	Tue Jul 20 20:37:29 2010 +0530
@@ -53,3 +53,19 @@
 hg strip 4 2>&1 | hidebackup
 echo % after strip of merge parent
 hg parents
+
+#strip of applied mq should cleanup status file
+hg up -C 3
+echo fooagain >> bar
+hg ci -mf
+hg qimport -r tip:2
+echo % applied patches before strip
+hg qapplied
+echo % stripping revision in queue
+hg strip 3 | hidebackup
+echo % applied patches after stripping rev in queue
+hg qapplied
+echo % stripping ancestor of queue
+hg strip 1 | hidebackup
+echo % applied patches after stripping ancestor of queue
+hg qapplied