comparison mercurial/commands.py @ 13328:a939f08fae9c stable

url: add --insecure option to bypass verification of ssl certificates If --insecure specified, it behaves in the same way as no web.cacerts configured. Also shows hint for --insecure option when _verifycert() failed. But currently the hint isn't displayed on SSLError, because it needs a certain level of changes.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 29 Jan 2011 23:23:24 +0900
parents 827a1cc127bf
children 4e92ad05fe18 02aa06a021a0
comparison
equal deleted inserted replaced
13322:c19b9282d3a7 13328:a939f08fae9c
3941 remoteopts = [ 3941 remoteopts = [
3942 ('e', 'ssh', '', 3942 ('e', 'ssh', '',
3943 _('specify ssh command to use'), _('CMD')), 3943 _('specify ssh command to use'), _('CMD')),
3944 ('', 'remotecmd', '', 3944 ('', 'remotecmd', '',
3945 _('specify hg command to run on the remote side'), _('CMD')), 3945 _('specify hg command to run on the remote side'), _('CMD')),
3946 ('', 'insecure', None,
3947 _('do not verify server certificate (ignoring web.cacerts config)')),
3946 ] 3948 ]
3947 3949
3948 walkopts = [ 3950 walkopts = [
3949 ('I', 'include', [], 3951 ('I', 'include', [],
3950 _('include names matching the given patterns'), _('PATTERN')), 3952 _('include names matching the given patterns'), _('PATTERN')),