diff --git a/tests/test-mq-qsave b/tests/test-mq-qsave new file mode 100644 --- /dev/null +++ b/tests/test-mq-qsave @@ -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 diff --git a/tests/test-mq-qsave.out b/tests/test-mq-qsave.out new file mode 100644 --- /dev/null +++ b/tests/test-mq-qsave.out @@ -0,0 +1,2 @@ +adding base +restoring status: hg patches saved state