Show More
@@ -527,6 +527,9 b' if has_https:' | |||||
527 | self.ui.debug('%s certificate successfully verified\n' % |
|
527 | self.ui.debug('%s certificate successfully verified\n' % | |
528 | self.host) |
|
528 | self.host) | |
529 | else: |
|
529 | else: | |
|
530 | self.ui.warn(_("warning: %s certificate not verified " | |||
|
531 | "(check web.cacerts config setting)\n") % | |||
|
532 | self.host) | |||
530 | httplib.HTTPSConnection.connect(self) |
|
533 | httplib.HTTPSConnection.connect(self) | |
531 |
|
534 | |||
532 | class httpsconnection(BetterHTTPS): |
|
535 | class httpsconnection(BetterHTTPS): |
@@ -106,6 +106,7 b' Test server address cannot be reused' | |||||
106 | clone via pull |
|
106 | clone via pull | |
107 |
|
107 | |||
108 | $ hg clone https://localhost:$HGPORT/ copy-pull |
|
108 | $ hg clone https://localhost:$HGPORT/ copy-pull | |
|
109 | warning: localhost certificate not verified (check web.cacerts config setting) | |||
109 | requesting all changes |
|
110 | requesting all changes | |
110 | adding changesets |
|
111 | adding changesets | |
111 | adding manifests |
|
112 | adding manifests | |
@@ -131,6 +132,7 b' pull' | |||||
131 | $ echo '[hooks]' >> .hg/hgrc |
|
132 | $ echo '[hooks]' >> .hg/hgrc | |
132 | $ echo "changegroup = python '$TESTDIR'/printenv.py changegroup" >> .hg/hgrc |
|
133 | $ echo "changegroup = python '$TESTDIR'/printenv.py changegroup" >> .hg/hgrc | |
133 | $ hg pull |
|
134 | $ hg pull | |
|
135 | warning: localhost certificate not verified (check web.cacerts config setting) | |||
134 | changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_URL=https://localhost:$HGPORT/ |
|
136 | changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_URL=https://localhost:$HGPORT/ | |
135 | pulling from https://localhost:$HGPORT/ |
|
137 | pulling from https://localhost:$HGPORT/ | |
136 | searching for changes |
|
138 | searching for changes |
General Comments 0
You need to be logged in to leave comments.
Login now