diff tests/test-mq @ 10710:47fbbc4845ff stable

mq: test for init --mq with a destination argument
author Cédric Duval <cedricduval@free.fr>
date Mon, 15 Mar 2010 20:52:22 +0100
parents a778a367c20b
children 590b1d6ef50b
line wrap: on
line diff
--- a/tests/test-mq	Tue Mar 16 17:39:12 2010 +0100
+++ b/tests/test-mq	Mon Mar 15 20:52:22 2010 +0100
@@ -86,6 +86,11 @@
 hg init --mq
 cd ..
 
+echo '% init --mq with repo path'
+hg init g
+hg init --mq g
+test -d g/.hg/patches/.hg && echo "ok" || echo "failed"
+
 echo '% init --mq with nonexistent directory'
 hg init --mq nonexistentdir