Mercurial > hg
diff mercurial/debugcommands.py @ 51828:b08de326bee4
debugwireproto: redo logging to also work for https
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Sun, 30 Jun 2024 02:46:53 +0200 |
parents | 15e680a44502 |
children | f4733654f144 |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Fri Jun 28 16:26:06 2024 +0200 +++ b/mercurial/debugcommands.py Sun Jun 30 02:46:53 2024 +0200 @@ -4510,8 +4510,10 @@ # TODO consider not doing this because we skip # ``hg.wirepeersetupfuncs`` and potentially other useful functionality. u = urlutil.url(path) - if u.scheme != b'http': - raise error.Abort(_(b'only http:// paths are currently supported')) + if u.scheme not in (b'http', b'https'): + raise error.Abort( + _(b'only http:// and https:// paths are currently supported') + ) url, authinfo = u.authinfo() openerargs = {