Show More
@@ -1508,6 +1508,13 b' def debuginstall(ui, **opts):' | |||||
1508 | pythonlib or _(b"unknown"), |
|
1508 | pythonlib or _(b"unknown"), | |
1509 | ) |
|
1509 | ) | |
1510 |
|
1510 | |||
|
1511 | try: | |||
|
1512 | from . import rustext | |||
|
1513 | ||||
|
1514 | rustext.__doc__ # trigger lazy import | |||
|
1515 | except ImportError: | |||
|
1516 | rustext = None | |||
|
1517 | ||||
1511 | security = set(sslutil.supportedprotocols) |
|
1518 | security = set(sslutil.supportedprotocols) | |
1512 | if sslutil.hassni: |
|
1519 | if sslutil.hassni: | |
1513 | security.add(b'sni') |
|
1520 | security.add(b'sni') | |
@@ -1535,6 +1542,13 b' def debuginstall(ui, **opts):' | |||||
1535 | ) |
|
1542 | ) | |
1536 | ) |
|
1543 | ) | |
1537 |
|
1544 | |||
|
1545 | fm.plain( | |||
|
1546 | _( | |||
|
1547 | b"checking Rust extensions (%s)\n" | |||
|
1548 | % (b'missing' if rustext is None else b'installed') | |||
|
1549 | ), | |||
|
1550 | ) | |||
|
1551 | ||||
1538 | # TODO print CA cert info |
|
1552 | # TODO print CA cert info | |
1539 |
|
1553 | |||
1540 | # hg version |
|
1554 | # hg version |
@@ -9,6 +9,7 b' hg debuginstall' | |||||
9 | checking Python security support (*) (glob) |
|
9 | checking Python security support (*) (glob) | |
10 | TLS 1.2 not supported by Python install; network connections lack modern security (?) |
|
10 | TLS 1.2 not supported by Python install; network connections lack modern security (?) | |
11 | SNI not supported by Python install; may have connectivity issues with some servers (?) |
|
11 | SNI not supported by Python install; may have connectivity issues with some servers (?) | |
|
12 | checking Rust extensions \((installed|missing)\) (re) | |||
12 | checking Mercurial version (*) (glob) |
|
13 | checking Mercurial version (*) (glob) | |
13 | checking Mercurial custom build (*) (glob) |
|
14 | checking Mercurial custom build (*) (glob) | |
14 | checking module policy (*) (glob) |
|
15 | checking module policy (*) (glob) | |
@@ -67,6 +68,7 b' hg debuginstall with no username' | |||||
67 | checking Python security support (*) (glob) |
|
68 | checking Python security support (*) (glob) | |
68 | TLS 1.2 not supported by Python install; network connections lack modern security (?) |
|
69 | TLS 1.2 not supported by Python install; network connections lack modern security (?) | |
69 | SNI not supported by Python install; may have connectivity issues with some servers (?) |
|
70 | SNI not supported by Python install; may have connectivity issues with some servers (?) | |
|
71 | checking Rust extensions \((installed|missing)\) (re) | |||
70 | checking Mercurial version (*) (glob) |
|
72 | checking Mercurial version (*) (glob) | |
71 | checking Mercurial custom build (*) (glob) |
|
73 | checking Mercurial custom build (*) (glob) | |
72 | checking module policy (*) (glob) |
|
74 | checking module policy (*) (glob) | |
@@ -113,6 +115,7 b' path variables are expanded (~ is the sa' | |||||
113 | checking Python security support (*) (glob) |
|
115 | checking Python security support (*) (glob) | |
114 | TLS 1.2 not supported by Python install; network connections lack modern security (?) |
|
116 | TLS 1.2 not supported by Python install; network connections lack modern security (?) | |
115 | SNI not supported by Python install; may have connectivity issues with some servers (?) |
|
117 | SNI not supported by Python install; may have connectivity issues with some servers (?) | |
|
118 | checking Rust extensions \((installed|missing)\) (re) | |||
116 | checking Mercurial version (*) (glob) |
|
119 | checking Mercurial version (*) (glob) | |
117 | checking Mercurial custom build (*) (glob) |
|
120 | checking Mercurial custom build (*) (glob) | |
118 | checking module policy (*) (glob) |
|
121 | checking module policy (*) (glob) | |
@@ -139,6 +142,7 b' not found (this is intentionally using b' | |||||
139 | checking Python security support (*) (glob) |
|
142 | checking Python security support (*) (glob) | |
140 | TLS 1.2 not supported by Python install; network connections lack modern security (?) |
|
143 | TLS 1.2 not supported by Python install; network connections lack modern security (?) | |
141 | SNI not supported by Python install; may have connectivity issues with some servers (?) |
|
144 | SNI not supported by Python install; may have connectivity issues with some servers (?) | |
|
145 | checking Rust extensions \((installed|missing)\) (re) | |||
142 | checking Mercurial version (*) (glob) |
|
146 | checking Mercurial version (*) (glob) | |
143 | checking Mercurial custom build (*) (glob) |
|
147 | checking Mercurial custom build (*) (glob) | |
144 | checking module policy (*) (glob) |
|
148 | checking module policy (*) (glob) | |
@@ -194,6 +198,7 b" since it's bin on most platforms but Scr" | |||||
194 | checking Python version (3.*) (glob) |
|
198 | checking Python version (3.*) (glob) | |
195 | checking Python lib (*)... (glob) |
|
199 | checking Python lib (*)... (glob) | |
196 | checking Python security support (*) (glob) |
|
200 | checking Python security support (*) (glob) | |
|
201 | checking Rust extensions \((installed|missing)\) (re) | |||
197 | checking Mercurial version (*) (glob) |
|
202 | checking Mercurial version (*) (glob) | |
198 | checking Mercurial custom build (*) (glob) |
|
203 | checking Mercurial custom build (*) (glob) | |
199 | checking module policy (*) (glob) |
|
204 | checking module policy (*) (glob) | |
@@ -233,6 +238,7 b" since it's bin on most platforms but Scr" | |||||
233 | checking Python security support (*) (glob) |
|
238 | checking Python security support (*) (glob) | |
234 | TLS 1.2 not supported by Python install; network connections lack modern security (?) |
|
239 | TLS 1.2 not supported by Python install; network connections lack modern security (?) | |
235 | SNI not supported by Python install; may have connectivity issues with some servers (?) |
|
240 | SNI not supported by Python install; may have connectivity issues with some servers (?) | |
|
241 | checking Rust extensions \((installed|missing)\) (re) | |||
236 | checking Mercurial version (*) (glob) |
|
242 | checking Mercurial version (*) (glob) | |
237 | checking Mercurial custom build (*) (glob) |
|
243 | checking Mercurial custom build (*) (glob) | |
238 | checking module policy (*) (glob) |
|
244 | checking module policy (*) (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now