Show More
@@ -51,15 +51,18 b' another bad extension' | |||
|
51 | 51 | |
|
52 | 52 | show traceback |
|
53 | 53 | |
|
54 | $ hg -q help help --traceback 2>&1 | egrep ' extension|^Exception|Traceback|ImportError' | |
|
54 | $ hg -q help help --traceback 2>&1 | egrep ' extension|^Exception|Traceback|ImportError|ModuleNotFound' | |
|
55 | 55 | *** failed to import extension badext from $TESTTMP/badext.py: bit bucket overflow |
|
56 | 56 | Traceback (most recent call last): |
|
57 | 57 | Exception: bit bucket overflow |
|
58 | 58 | *** failed to import extension badext2: No module named *badext2* (glob) |
|
59 | 59 | Traceback (most recent call last): |
|
60 | 60 | ImportError: No module named badext2 (no-py3k !) |
|
61 | ModuleNotFoundError: No module named 'hgext.badext2' (py3k !) | |
|
61 | 62 | Traceback (most recent call last): (py3k !) |
|
63 | ModuleNotFoundError: No module named 'hgext3rd.badext2' (py3k !) | |
|
62 | 64 | Traceback (most recent call last): (py3k !) |
|
65 | ModuleNotFoundError: No module named 'badext2' (py3k !) | |
|
63 | 66 | |
|
64 | 67 | names of extensions failed to load can be accessed via extensions.notloaded() |
|
65 | 68 | |
@@ -79,7 +82,7 b' show traceback for ImportError of hgext.' | |||
|
79 | 82 | |
|
80 | 83 | $ (hg help help --traceback --debug --config devel.debug.extensions=yes 2>&1) \ |
|
81 | 84 | > | grep -v '^ ' \ |
|
82 | > | egrep 'extension..[^p]|^Exception|Traceback|ImportError|not import' | |
|
85 | > | egrep 'extension..[^p]|^Exception|Traceback|ImportError|not import|ModuleNotFound' | |
|
83 | 86 | debug.extensions: loading extensions |
|
84 | 87 | debug.extensions: - processing 5 entries |
|
85 | 88 | debug.extensions: - loading extension: 'gpg' |
@@ -100,14 +103,20 b' show traceback for ImportError of hgext.' | |||
|
100 | 103 | debug.extensions: - could not import hgext.badext2 (No module named *badext2*): trying hgext3rd.badext2 (glob) |
|
101 | 104 | Traceback (most recent call last): |
|
102 | 105 | ImportError: No module named badext2 (no-py3k !) |
|
106 | ModuleNotFoundError: No module named 'hgext.badext2' (py3k !) | |
|
103 | 107 | debug.extensions: - could not import hgext3rd.badext2 (No module named *badext2*): trying badext2 (glob) |
|
104 | 108 | Traceback (most recent call last): |
|
105 | 109 | ImportError: No module named badext2 (no-py3k !) |
|
110 | ModuleNotFoundError: No module named 'hgext.badext2' (py3k !) | |
|
106 | 111 | Traceback (most recent call last): (py3k !) |
|
112 | ModuleNotFoundError: No module named 'hgext3rd.badext2' (py3k !) | |
|
107 | 113 | *** failed to import extension badext2: No module named *badext2* (glob) |
|
108 | 114 | Traceback (most recent call last): |
|
115 | ModuleNotFoundError: No module named 'hgext.badext2' (py3k !) | |
|
109 | 116 | Traceback (most recent call last): (py3k !) |
|
117 | ModuleNotFoundError: No module named 'hgext3rd.badext2' (py3k !) | |
|
110 | 118 | Traceback (most recent call last): (py3k !) |
|
119 | ModuleNotFoundError: No module named 'badext2' (py3k !) | |
|
111 | 120 | ImportError: No module named badext2 (no-py3k !) |
|
112 | 121 | debug.extensions: > loaded 2 extensions, total time * (glob) |
|
113 | 122 | debug.extensions: - loading configtable attributes |
General Comments 0
You need to be logged in to leave comments.
Login now