diff -r 7a8ea1397816 -r d718eddf01d9 mercurial/url.py --- a/mercurial/url.py Thu Dec 08 15:33:19 2022 +0100 +++ b/mercurial/url.py Thu Aug 31 23:56:15 2023 +0200 @@ -190,7 +190,7 @@ return _sendfile -has_https = util.safehasattr(urlreq, 'httpshandler') +has_https = hasattr(urlreq, 'httpshandler') class httpconnection(keepalive.HTTPConnection):