Add basic qsave/qrestore test.
authorBrendan Cully <brendan@kublai.com>
Mon, 07 Aug 2006 14:48:24 -0700
changeset 2817 ff3edd1c1e27
parent 2816 52516e48e3f3
child 2818 bdc067ff6cf5
Add basic qsave/qrestore test.
tests/test-mq-qsave
tests/test-mq-qsave.out
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-mq-qsave	Mon Aug 07 14:48:24 2006 -0700
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
+echo "[extensions]" >> $HGTMP/.hgrc
+echo "mq=" >> $HGTMP/.hgrc
+
+hg init a
+cd a
+
+echo 'base' > base
+hg ci -Ambase -d '1 0'
+
+hg qnew -mmqbase mqbase
+
+hg qsave
+hg qrestore 2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-mq-qsave.out	Mon Aug 07 14:48:24 2006 -0700
@@ -0,0 +1,2 @@
+adding base
+restoring status: hg patches saved state