tests/test-mq
changeset 4182 ba51a8225a60
parent 4101 e2ed92f4c0f7
parent 4173 7307d2e98b32
child 4219 6cb5be6bd70f
--- a/tests/test-mq	Fri Mar 09 20:08:13 2007 +0100
+++ b/tests/test-mq	Sat Mar 10 17:45:32 2007 -0800
@@ -89,6 +89,18 @@
     -e "s/\(+++ [a-zA-Z0-9_/.-]*\).*/\1/" \
     -e "s/\(--- [a-zA-Z0-9_/.-]*\).*/\1/" .hg/patches/test.patch
 
+echo % empty qrefresh
+
+hg qrefresh -X a
+echo 'revision:'
+hg diff -r -2 -r -1
+echo 'patch:'
+cat .hg/patches/test.patch
+echo 'working dir diff:'
+hg diff --nodates -q
+# restore things
+hg qrefresh
+
 echo % qpop
 
 hg qpop