tests/test-mq
changeset 6472 8c4cd80afd3e
parent 6280 9db24a36d182
child 6558 550c53d66949
--- a/tests/test-mq	Fri Apr 04 22:19:24 2008 +0200
+++ b/tests/test-mq	Fri Apr 04 17:44:31 2008 +0200
@@ -266,6 +266,14 @@
 hg strip tip 2>&1 | sed 's/\(saving bundle to \).*/\1/'
 hg unbundle .hg/strip-backup/*
 
+echo % strip with local changes, should complain
+hg up
+echo y>y
+hg add y
+hg strip tip | sed 's/\(saving bundle to \).*/\1/'
+echo % --force strip with local changes
+hg strip -f tip 2>&1 | sed 's/\(saving bundle to \).*/\1/'
+
 echo '% cd b; hg qrefresh'
 hg init refresh
 cd refresh