Show More
@@ -923,7 +923,7 b' def remoteui(src, opts):' | |||||
923 | dst.setconfig('bundle', 'mainreporoot', r, 'copied') |
|
923 | dst.setconfig('bundle', 'mainreporoot', r, 'copied') | |
924 |
|
924 | |||
925 | # copy selected local settings to the remote ui |
|
925 | # copy selected local settings to the remote ui | |
926 | for sect in ('auth', 'hostfingerprints', 'http_proxy'): |
|
926 | for sect in ('auth', 'hostfingerprints', 'hostsecurity', 'http_proxy'): | |
927 | for key, val in src.configitems(sect): |
|
927 | for key, val in src.configitems(sect): | |
928 | dst.setconfig(sect, key, val, 'copied') |
|
928 | dst.setconfig(sect, key, val, 'copied') | |
929 | v = src.config('web', 'cacerts') |
|
929 | v = src.config('web', 'cacerts') |
@@ -501,6 +501,17 b' The per-host config option by itself wor' | |||||
501 | abort: error: *unsupported protocol* (glob) |
|
501 | abort: error: *unsupported protocol* (glob) | |
502 | [255] |
|
502 | [255] | |
503 |
|
503 | |||
|
504 | .hg/hgrc file [hostsecurity] settings are applied to remote ui instances (issue5305) | |||
|
505 | ||||
|
506 | $ cat >> copy-pull/.hg/hgrc << EOF | |||
|
507 | > [hostsecurity] | |||
|
508 | > localhost:minimumprotocol=tls1.2 | |||
|
509 | > EOF | |||
|
510 | $ P="$CERTSDIR" hg -R copy-pull id https://localhost:$HGPORT/ | |||
|
511 | (could not negotiate a common protocol; see https://mercurial-scm.org/wiki/SecureConnections for how to configure Mercurial to avoid this error) | |||
|
512 | abort: error: [SSL: UNSUPPORTED_PROTOCOL] unsupported protocol (_ssl.c:590) | |||
|
513 | [255] | |||
|
514 | ||||
504 | $ killdaemons.py hg0.pid |
|
515 | $ killdaemons.py hg0.pid | |
505 | $ killdaemons.py hg1.pid |
|
516 | $ killdaemons.py hg1.pid | |
506 | $ killdaemons.py hg2.pid |
|
517 | $ killdaemons.py hg2.pid |
General Comments 0
You need to be logged in to leave comments.
Login now