diff tests/test-mq-qdelete @ 6645:37eedb1a1848

mq: introduce the qfinish command
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Tue, 03 Jun 2008 09:34:14 +0200
parents 04b2c1e27c26
children 5e9965407d53
line wrap: on
line diff
--- a/tests/test-mq-qdelete	Tue Jun 03 12:27:48 2008 +0200
+++ b/tests/test-mq-qdelete	Tue Jun 03 09:34:14 2008 +0200
@@ -35,3 +35,33 @@
 hg qdel -r qbase:e
 hg qapplied
 hg log --template '{rev} {desc}\n'
+
+cd ..
+hg init b
+cd b
+
+echo 'base' > base
+hg ci -Ambase
+
+hg qfinish
+hg qfinish -a
+
+hg qnew a
+hg qnew b
+hg qnew c
+
+hg qfinish 0
+hg qfinish b
+
+hg qpop
+hg qfinish -a c
+hg qpush
+
+hg qfinish qbase:b
+hg qapplied
+hg log --template '{rev} {desc}\n'
+
+hg qfinish -a c
+hg qapplied
+hg log --template '{rev} {desc}\n'
+ls .hg/patches