equal
deleted
inserted
replaced
33 $ hghave custom |
33 $ hghave custom |
34 |
34 |
35 (terminate with exit code 2 at failure of importing hghaveaddon.py) |
35 (terminate with exit code 2 at failure of importing hghaveaddon.py) |
36 |
36 |
37 $ rm hghaveaddon.* |
37 $ rm hghaveaddon.* |
38 $ cat > hghaveaddon.py <<EOF |
38 $ cat > hghaveaddon.py <<NO_CHECK_EOF |
39 > importing this file should cause syntax error |
39 > importing this file should cause syntax error |
40 > EOF |
40 > NO_CHECK_EOF |
41 |
41 |
42 $ hghave custom |
42 $ hghave custom |
43 failed to import hghaveaddon.py from '.': invalid syntax (hghaveaddon.py, line 1) |
43 failed to import hghaveaddon.py from '.': invalid syntax (hghaveaddon.py, line 1) |
44 [2] |
44 [2] |