Mercurial > hg
diff tests/test-mq @ 10691:a778a367c20b stable
mq: fix init with nonexistent or non-local repository
author | Cédric Duval <cedricduval@free.fr> |
---|---|
date | Sun, 14 Mar 2010 18:46:38 +0100 |
parents | 8cb81d75730c |
children | 47fbbc4845ff |
line wrap: on
line diff
--- a/tests/test-mq Sun Mar 14 19:21:24 2010 +0100 +++ b/tests/test-mq Sun Mar 14 18:46:38 2010 +0100 @@ -80,6 +80,19 @@ cat .hg/patches/series cd .. +echo '% init --mq without repo' +mkdir f +cd f +hg init --mq +cd .. + +echo '% init --mq with nonexistent directory' +hg init --mq nonexistentdir + +echo '% init --mq with bundle (non "local")' +hg -R a bundle --all a.bundle >/dev/null +hg init --mq a.bundle + cd a hg qnew -m 'foo bar' test.patch