changeset 2817:ff3edd1c1e27

Add basic qsave/qrestore test.
author Brendan Cully <brendan@kublai.com>
date Mon, 07 Aug 2006 14:48:24 -0700
parents 52516e48e3f3
children bdc067ff6cf5
files tests/test-mq-qsave tests/test-mq-qsave.out
diffstat 2 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /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