##// END OF EJS Templates
mq: test for init --mq with a destination argument
Cédric Duval -
r10710:47fbbc48 stable
parent child Browse files
Show More
@@ -86,6 +86,11 b' cd f'
86 hg init --mq
86 hg init --mq
87 cd ..
87 cd ..
88
88
89 echo '% init --mq with repo path'
90 hg init g
91 hg init --mq g
92 test -d g/.hg/patches/.hg && echo "ok" || echo "failed"
93
89 echo '% init --mq with nonexistent directory'
94 echo '% init --mq with nonexistent directory'
90 hg init --mq nonexistentdir
95 hg init --mq nonexistentdir
91
96
@@ -91,6 +91,8 b' A'
91 B
91 B
92 % init --mq without repo
92 % init --mq without repo
93 abort: There is no Mercurial repository here (.hg not found)
93 abort: There is no Mercurial repository here (.hg not found)
94 % init --mq with repo path
95 ok
94 % init --mq with nonexistent directory
96 % init --mq with nonexistent directory
95 abort: repository nonexistentdir not found!
97 abort: repository nonexistentdir not found!
96 % init --mq with bundle (non "local")
98 % init --mq with bundle (non "local")
General Comments 0
You need to be logged in to leave comments. Login now