51 > badext2 = |
51 > badext2 = |
52 > EOF |
52 > EOF |
53 |
53 |
54 $ hg -q help help 2>&1 |grep extension |
54 $ hg -q help help 2>&1 |grep extension |
55 *** failed to import extension "badext" from $TESTTMP/badext.py: bit bucket overflow |
55 *** failed to import extension "badext" from $TESTTMP/badext.py: bit bucket overflow |
56 *** failed to import extension "badext2": No module named 'badext2' |
56 *** failed to import extension "badext2": No module named 'badext2' (py3 !) |
|
57 *** failed to import extension "badext2": No module named badext2 (no-py3 !) |
57 |
58 |
58 show traceback |
59 show traceback |
59 |
60 |
60 $ hg -q help help --traceback 2>&1 | egrep ' extension|^Exception|Traceback|ImportError|ModuleNotFound' |
61 $ hg -q help help --traceback 2>&1 | egrep ' extension|^Exception|Traceback|ImportError|ModuleNotFound' |
61 *** failed to import extension "badext" from $TESTTMP/badext.py: bit bucket overflow |
62 *** failed to import extension "badext" from $TESTTMP/badext.py: bit bucket overflow |
62 Traceback (most recent call last): |
63 Traceback (most recent call last): |
63 Exception: bit bucket overflow |
64 Exception: bit bucket overflow |
64 *** failed to import extension "badext2": No module named 'badext2' |
65 *** failed to import extension "badext2": No module named 'badext2' (py3 !) |
|
66 *** failed to import extension "badext2": No module named badext2 (no-py3 !) |
65 Traceback (most recent call last): |
67 Traceback (most recent call last): |
66 ImportError: No module named badext2 (no-py3 !) |
68 ImportError: No module named badext2 (no-py3 !) |
67 ImportError: No module named 'hgext.badext2' (py3 no-py36 !) |
69 ImportError: No module named 'hgext.badext2' (py3 no-py36 !) |
68 ModuleNotFoundError: No module named 'hgext.badext2' (py36 !) |
70 ModuleNotFoundError: No module named 'hgext.badext2' (py36 !) |
69 Traceback (most recent call last): (py3 !) |
71 Traceback (most recent call last): (py3 !) |
121 ImportError: No module named 'hgext.badext2' (py3 no-py36 !) |
123 ImportError: No module named 'hgext.badext2' (py3 no-py36 !) |
122 ModuleNotFoundError: No module named 'hgext.badext2' (py36 !) |
124 ModuleNotFoundError: No module named 'hgext.badext2' (py36 !) |
123 Traceback (most recent call last): (py3 !) |
125 Traceback (most recent call last): (py3 !) |
124 ImportError: No module named 'hgext3rd.badext2' (py3 no-py36 !) |
126 ImportError: No module named 'hgext3rd.badext2' (py3 no-py36 !) |
125 ModuleNotFoundError: No module named 'hgext3rd.badext2' (py36 !) |
127 ModuleNotFoundError: No module named 'hgext3rd.badext2' (py36 !) |
126 *** failed to import extension "badext2": No module named 'badext2' |
128 *** failed to import extension "badext2": No module named 'badext2' (py3 !) |
|
129 *** failed to import extension "badext2": No module named badext2 (no-py3 !) |
127 Traceback (most recent call last): |
130 Traceback (most recent call last): |
128 ImportError: No module named 'hgext.badext2' (py3 no-py36 !) |
131 ImportError: No module named 'hgext.badext2' (py3 no-py36 !) |
129 ModuleNotFoundError: No module named 'hgext.badext2' (py36 !) |
132 ModuleNotFoundError: No module named 'hgext.badext2' (py36 !) |
130 Traceback (most recent call last): (py3 !) |
133 Traceback (most recent call last): (py3 !) |
131 ImportError: No module named 'hgext3rd.badext2' (py3 no-py36 !) |
134 ImportError: No module named 'hgext3rd.badext2' (py3 no-py36 !) |
159 |
162 |
160 confirm that there's no crash when an extension's documentation is bad |
163 confirm that there's no crash when an extension's documentation is bad |
161 |
164 |
162 $ hg help --keyword baddocext |
165 $ hg help --keyword baddocext |
163 *** failed to import extension "badext" from $TESTTMP/badext.py: bit bucket overflow |
166 *** failed to import extension "badext" from $TESTTMP/badext.py: bit bucket overflow |
164 *** failed to import extension "badext2": No module named 'badext2' |
167 *** failed to import extension "badext2": No module named 'badext2' (py3 !) |
|
168 *** failed to import extension "badext2": No module named badext2 (no-py3 !) |
165 Topics: |
169 Topics: |
166 |
170 |
167 extensions Using Additional Features |
171 extensions Using Additional Features |