Show More
@@ -1029,7 +1029,12 b' def debugextensions(ui, repo, **opts):' | |||||
1029 | fm = ui.formatter(b'debugextensions', opts) |
|
1029 | fm = ui.formatter(b'debugextensions', opts) | |
1030 | for extname, extmod in sorted(exts, key=operator.itemgetter(0)): |
|
1030 | for extname, extmod in sorted(exts, key=operator.itemgetter(0)): | |
1031 | isinternal = extensions.ismoduleinternal(extmod) |
|
1031 | isinternal = extensions.ismoduleinternal(extmod) | |
1032 | extsource = pycompat.fsencode(extmod.__file__) |
|
1032 | extsource = None | |
|
1033 | ||||
|
1034 | if util.safehasattr(extmod, '__file__'): | |||
|
1035 | extsource = pycompat.fsencode(extmod.__file__) | |||
|
1036 | elif getattr(sys, 'oxidized', False): | |||
|
1037 | extsource = pycompat.sysexecutable | |||
1033 | if isinternal: |
|
1038 | if isinternal: | |
1034 | exttestedwith = [] # never expose magic string to users |
|
1039 | exttestedwith = [] # never expose magic string to users | |
1035 | else: |
|
1040 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now