Mercurial > hg
comparison tests/test-dispatch @ 12028:21984c1c83d4 stable
test-dispatch: drop test for missing working directory
hstuart reported problems when the local Python has been configured to do stuff
and crash before reaching the expected error handler.
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Mon, 23 Aug 2010 22:32:36 +0200 |
parents | 423ece53380e |
children |
comparison
equal
deleted
inserted
replaced
12026:1938954354ec | 12028:21984c1c83d4 |
---|---|
19 [defaults] | 19 [defaults] |
20 cat = -r null | 20 cat = -r null |
21 EOF | 21 EOF |
22 hg cat a | 22 hg cat a |
23 | 23 |
24 echo '% working directory removed' | |
25 sh -c "cd $dir && rm -rf a" | |
26 hg --version 2>&1 | sed -e 's,\(abort:.*:\).*$,\1 ...,g' | |
27 | |
28 echo '% no repo' | 24 echo '% no repo' |
29 cd $dir | 25 cd $dir |
30 hg cat | 26 hg cat |
31 | 27 |
32 exit 0 | 28 exit 0 |