Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
10690:ea85c01c7835 | 10691:a778a367c20b |
---|---|
77 echo ' .hgignore:' | 77 echo ' .hgignore:' |
78 cat .hg/patches/.hgignore | 78 cat .hg/patches/.hgignore |
79 echo ' series:' | 79 echo ' series:' |
80 cat .hg/patches/series | 80 cat .hg/patches/series |
81 cd .. | 81 cd .. |
82 | |
83 echo '% init --mq without repo' | |
84 mkdir f | |
85 cd f | |
86 hg init --mq | |
87 cd .. | |
88 | |
89 echo '% init --mq with nonexistent directory' | |
90 hg init --mq nonexistentdir | |
91 | |
92 echo '% init --mq with bundle (non "local")' | |
93 hg -R a bundle --all a.bundle >/dev/null | |
94 hg init --mq a.bundle | |
82 | 95 |
83 cd a | 96 cd a |
84 | 97 |
85 hg qnew -m 'foo bar' test.patch | 98 hg qnew -m 'foo bar' test.patch |
86 | 99 |