author | Martin Geisler <mg@lazybytes.net> |
Sat, 14 Aug 2010 02:35:44 +0200 | |
changeset 11858 | 934c7e91c126 |
parent 6204 | tests/test-bad-extension@f8a86ea7521b |
child 12375 | 02990e22150b |
permissions | -rw-r--r-- |
11858
934c7e91c126
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net>
parents:
6204
diff
changeset
|
1 |
$ echo 'raise Exception("bit bucket overflow")' > badext.py |
934c7e91c126
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net>
parents:
6204
diff
changeset
|
2 |
$ abspath=`pwd`/badext.py |
3014
01454af644b8
load extensions only after the ui object has been completely initialized
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
3 |
|
11858
934c7e91c126
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net>
parents:
6204
diff
changeset
|
4 |
$ echo '[extensions]' >> $HGRCPATH |
934c7e91c126
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net>
parents:
6204
diff
changeset
|
5 |
$ echo "gpg =" >> $HGRCPATH |
934c7e91c126
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net>
parents:
6204
diff
changeset
|
6 |
$ echo "hgext.gpg =" >> $HGRCPATH |
934c7e91c126
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net>
parents:
6204
diff
changeset
|
7 |
$ echo "badext = $abspath" >> $HGRCPATH |
934c7e91c126
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net>
parents:
6204
diff
changeset
|
8 |
$ echo "badext2 =" >> $HGRCPATH |
3014
01454af644b8
load extensions only after the ui object has been completely initialized
Alexis S. L. Carvalho <alexis@cecm.usp.br>
parents:
diff
changeset
|
9 |
|
11858
934c7e91c126
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net>
parents:
6204
diff
changeset
|
10 |
$ hg -q help help |
934c7e91c126
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net>
parents:
6204
diff
changeset
|
11 |
\*\*\* failed to import extension badext from .*/badext.py: bit bucket overflow |
934c7e91c126
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net>
parents:
6204
diff
changeset
|
12 |
\*\*\* failed to import extension badext2: No module named badext2 |
934c7e91c126
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net>
parents:
6204
diff
changeset
|
13 |
hg help [TOPIC] |
934c7e91c126
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net>
parents:
6204
diff
changeset
|
14 |
|
934c7e91c126
tests: unify test-bad-extension
Martin Geisler <mg@lazybytes.net>
parents:
6204
diff
changeset
|
15 |
show help for a given topic or a help overview |